14 lines
293 B
C
14 lines
293 B
C
#ifndef DORNE_CHILD_H
|
|
#define DORNE_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 /* DORNE_CHILD_H */
|