add acct, accept4, setns, and dup3 syscalls (linux extensions)

based on patch by Justin Cormack
This commit is contained in:
Rich Felker
2012-09-08 20:22:08 -04:00
parent b10d0230c1
commit 6cf8bfdb64
8 changed files with 113 additions and 0 deletions

View File

@ -255,6 +255,10 @@ int sockatmark (int);
#define SHUT_WR 1
#define SHUT_RDWR 2
#ifdef _GNU_SOURCE
int accept4(int, struct sockaddr *__restrict, socklen_t *__restrict, int);
#endif
#ifdef __cplusplus
}
#endif