修复了wait4的异常报错 (#312)

* 修复了wait4的异常报错
This commit is contained in:
Chiichen
2023-08-02 14:29:59 +08:00
committed by GitHub
parent 821bb9a2dc
commit 4da3758acf
2 changed files with 9 additions and 2 deletions

View File

@ -120,6 +120,12 @@ int rm(const char * path);
*/
void swab(void *restrict src, void *restrict dest, ssize_t nbytes);
/**
* @brief 创建pipe
* @param fildes 分别是读端fildes[0]和写端fildes[1]
*/
int pipe(int fildes[2]);
pid_t getpid(void);
int dup(int fd);