summaryrefslogtreecommitdiffhomepage
path: root/src/network/nt32/accept.c
blob: 2733e005710fae431417d23332575e75de176fac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/**************************************************************************/
/*  mmglue: midipix architecture- and target-specific bits for musl libc  */
/*  Copyright (C) 2013--2023  SysDeer Technologies, LLC                   */
/*  Released under GPLv2 and GPLv3; see COPYING.MMGLUE.                   */
/**************************************************************************/

#include <sys/socket.h>
#include "syscall.h"
#include "libc.h"

int accept(int fd, struct sockaddr *restrict addr, socklen_t *restrict len)
{
	return socketcall_cp(accept4, fd, addr, len, 0, 0, 0);
}