summaryrefslogtreecommitdiff
path: root/src/linux/accept4.c
blob: 6b5c16cebe53cb772bf8e7933c5bcc09463e046d (plain) (blame)
1
2
3
4
5
6
7
8
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);
}