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
/
select
/
select.c
1
#include <sys/select.h>
2
#include "syscall.h"
3
#include "libc.h"
4
5
int select(int n, fd_set *rfds, fd_set *wfds, fd_set *efds, struct timeval *tv)
6
{
7
int r;
8
CANCELPT_BEGIN;
9
r = syscall5(__NR_select, n, (long)rfds, (long)wfds, (long)efds, (long)tv);
10
CANCELPT_END;
11
return r;
12
}