diff options
author | Rich Felker <dalias@aerifal.cx> | 2012-09-29 17:42:21 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2012-09-29 17:42:21 -0400 |
commit | 9735d50070cc120f4749d1a458eacad7e9180a28 (patch) | |
tree | 3fe57ed16a7bc0e7fa02220cf7ae1bc3a09a000f | |
parent | dc62790deec183697489d5fddea03c82f725e7fd (diff) | |
download | musl-9735d50070cc120f4749d1a458eacad7e9180a28.tar.gz musl-9735d50070cc120f4749d1a458eacad7e9180a28.tar.bz2 musl-9735d50070cc120f4749d1a458eacad7e9180a28.tar.xz musl-9735d50070cc120f4749d1a458eacad7e9180a28.zip |
always expose dup3 and pipe2
they will be in the next version of POSIX
-rw-r--r-- | include/unistd.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/unistd.h b/include/unistd.h index 985d279e..a1724bec 100644 --- a/include/unistd.h +++ b/include/unistd.h @@ -33,9 +33,11 @@ extern "C" { #include <bits/alltypes.h> int pipe(int [2]); +int pipe2(int [2], int); int close(int); int dup(int); int dup2(int, int); +int dup3(int, int, int); off_t lseek(int, off_t, int); int fsync(int); int fdatasync(int); @@ -182,8 +184,6 @@ 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); -int dup3(int, int, int); void syncfs(int); #endif |