libc: Add missing pipe2() declaration and implementation.

Change-Id: Iacb914bd6ac5adc60c5671e6fef680ede21f9b0c
This commit is contained in:
David 'Digit' Turner
2010-09-27 17:33:08 +02:00
parent b9e49ad56e
commit 275cd48511
10 changed files with 92 additions and 4 deletions

View File

@@ -118,6 +118,9 @@ extern int chdir(const char *);
extern int fchdir(int);
extern int rmdir(const char *);
extern int pipe(int *);
#ifdef _GNU_SOURCE /* GLibc compatibility */
extern int pipe2(int *, int);
#endif
extern int chroot(const char *);
extern int symlink(const char *, const char *);
extern int readlink(const char *, char *, size_t);