📄 pipespawn.h
字号:
/* 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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -