add pipe2 syscall

based on patch by orc and Isaac Dunham, with some details fixed.
This commit is contained in:
Rich Felker
2012-07-23 16:32:49 -04:00
parent 845a5e69fa
commit 42f0e965c4
2 changed files with 9 additions and 0 deletions

View File

@ -174,6 +174,7 @@ int setresgid(gid_t, gid_t, gid_t);
int getresuid(uid_t *, uid_t *, uid_t *);
int getresgid(gid_t *, gid_t *, gid_t *);
char *get_current_dir_name(void);
int pipe2(int [2], int);
#endif
#if defined(_LARGEFILE64_SOURCE) || defined(_GNU_SOURCE)