projects
/
oweals
/
musl.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
use rt_sigprocmask, not legacy sigprocmask, syscall in pthread exit code
[oweals/musl.git]
/
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
}