diff options
author | Rich Felker <dalias@aerifal.cx> | 2012-09-08 20:22:08 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2012-09-08 20:22:08 -0400 |
commit | 6cf8bfdb646efaf76c75a95d1ea0cd254706c037 (patch) | |
tree | bc640847a316bb36ba69d81cc2b5230f55f905f0 /include/unistd.h | |
parent | b10d0230c1837be34e4ece7d6b11d19f1b578b9f (diff) | |
download | musl-6cf8bfdb646efaf76c75a95d1ea0cd254706c037.tar.gz musl-6cf8bfdb646efaf76c75a95d1ea0cd254706c037.tar.xz musl-6cf8bfdb646efaf76c75a95d1ea0cd254706c037.zip |
add acct, accept4, setns, and dup3 syscalls (linux extensions)
based on patch by Justin Cormack
Diffstat (limited to 'include/unistd.h')
-rw-r--r-- | include/unistd.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/unistd.h b/include/unistd.h index b5206a61..4f6953c4 100644 --- a/include/unistd.h +++ b/include/unistd.h @@ -171,6 +171,7 @@ int daemon(int, int); void setusershell(void); void endusershell(void); char *getusershell(void); +int acct(const char *); #endif #ifdef _GNU_SOURCE @@ -181,6 +182,7 @@ 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); #endif #if defined(_LARGEFILE64_SOURCE) || defined(_GNU_SOURCE) |