projects
/
musl
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
unify lock and owner fields of mutex structure
[musl]
/
src
/
network
/
accept.c
1
#include <sys/socket.h>
2
#include "syscall.h"
3
#include "libc.h"
4
5
int accept(int fd, struct sockaddr *addr, socklen_t *len)
6
{
7
int ret;
8
CANCELPT_BEGIN;
9
ret = socketcall(accept, fd, addr, len, 0, 0, 0);
10
CANCELPT_END;
11
return ret;
12
}