X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=common-src%2Fpipespawn.h;h=581312154285cc08af833ec48978076f638a27e7;hb=cc1c429bae842a7a725037875e965d512aaf6b0a;hp=8b81f58d9d4755e78d67363c5bebcd8b07a45e8c;hpb=12179dea039515c06168c0037d048566a3f623de;p=debian%2Famanda diff --git a/common-src/pipespawn.h b/common-src/pipespawn.h index 8b81f58..5813121 100644 --- a/common-src/pipespawn.h +++ b/common-src/pipespawn.h @@ -12,10 +12,10 @@ extern char skip_argument[1]; #define STDERR_PIPE (1 << 2) #define PASSWD_PIPE (1 << 3) -pid_t pipespawn(char *prog, int pipedef, +pid_t pipespawn(char *prog, int pipedef, int need_root, int *stdinfd, int *stdoutfd, int *stderrfd, ...); -pid_t pipespawnv(char *prog, int pipedef, +pid_t pipespawnv(char *prog, int pipedef, int need_root, int *stdinfd, int *stdoutfd, int *stderrfd, char **my_argv);