mirror of https://git.musl-libc.org/git/musl
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
232 B
12 lines
232 B
#include <sys/socket.h>
|
|
#include "syscall.h"
|
|
#include "libc.h"
|
|
|
|
int accept(int fd, struct sockaddr *addr, socklen_t *len)
|
|
{
|
|
int ret;
|
|
CANCELPT_BEGIN;
|
|
ret = socketcall(accept, fd, addr, len, 0, 0, 0);
|
|
CANCELPT_END;
|
|
return ret;
|
|
}
|
|
|