From: Rich Felker Date: Sat, 29 Sep 2012 21:42:21 +0000 (-0400) Subject: always expose dup3 and pipe2 X-Git-Tag: v0.9.7~75 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=9735d50070cc120f4749d1a458eacad7e9180a28;p=oweals%2Fmusl.git always expose dup3 and pipe2 they will be in the next version of POSIX --- 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 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