1 /* Pipespawn can create up to three pipes; These defines set which pointers
2 * should have the other end assigned for a new pipe. If not set, then
3 * pipespawn will use a preexisting fd.
8 extern char skip_argument[1];
10 #define STDIN_PIPE (1 << 0)
11 #define STDOUT_PIPE (1 << 1)
12 #define STDERR_PIPE (1 << 2)
13 #define PASSWD_PIPE (1 << 3)
15 pid_t pipespawn(char *prog, int pipedef, int need_root,
16 int *stdinfd, int *stdoutfd, int *stderrfd,
18 pid_t pipespawnv(char *prog, int pipedef, int need_root,
19 int *stdinfd, int *stdoutfd, int *stderrfd,
22 #endif /* PIPESPAWN_H */