pipespawn.h
来自「开源备份软件源码 AMANDA, the Advanced Marylan」· C头文件 代码 · 共 23 行
H
23 行
/* Pipespawn can create up to three pipes; These defines set which pointers * should have the other end assigned for a new pipe. If not set, then * pipespawn will use a preexisting fd. */#ifndef PIPESPAWN_H#define PIPESPAWN_H 1extern char skip_argument[1];#define STDIN_PIPE (1 << 0)#define STDOUT_PIPE (1 << 1)#define STDERR_PIPE (1 << 2)#define PASSWD_PIPE (1 << 3)pid_t pipespawn(char *prog, int pipedef, int *stdinfd, int *stdoutfd, int *stderrfd, ...);pid_t pipespawnv(char *prog, int pipedef, int *stdinfd, int *stdoutfd, int *stderrfd, char **my_argv);#endif /* PIPESPAWN_H */
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?