add acct, accept4, setns, and dup3 syscalls (linux extensions)
based on patch by Justin Cormack
This commit is contained in:
parent
b10d0230c1
commit
6cf8bfdb64
8 changed files with 113 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue