dorne/cursetree/pty/child.h

14 lines
305 B
C

#ifndef CURSETREE_CHILD_H
#define CURSETREE_CHILD_H
#include <unistd.h>
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 */