#ifndef CURSETREE_CHILD_H #define CURSETREE_CHILD_H #include struct d_child { pid_t pid; int fdmx; /* PTY master fd (read/write) */ int fderr; /* child's stderr (readonly) */ } __attribute__((packed, aligned(4))); int spawnchild(struct d_child *child); #endif /* CURSETREE_CHILD_H */