move accept4, dup3, and pipe2 to non-linux-specific locations
these interfaces have been adopted by the Austin Group for inclusion in the next version of POSIX.
This commit is contained in:
parent
79a5e73e51
commit
dc62790dee
3 changed files with 0 additions and 0 deletions
9
src/network/accept4.c
Normal file
9
src/network/accept4.c
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
#define _GNU_SOURCE
|
||||
#include <sys/socket.h>
|
||||
#include "syscall.h"
|
||||
#include "libc.h"
|
||||
|
||||
int accept4(int fd, struct sockaddr *restrict addr, socklen_t *restrict len, int flg)
|
||||
{
|
||||
return socketcall_cp(accept4, fd, addr, len, flg, 0, 0);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue