projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add pthread_setaffinity_np and pthread_getaffinity_np functions
[musl]
/
src
/
select
/
select.c
diff --git
a/src/select/select.c
b/src/select/select.c
index
b394663
..
f93597b
100644
(file)
--- a/
src/select/select.c
+++ b/
src/select/select.c
@@
-2,11
+2,7
@@
#include "syscall.h"
#include "libc.h"
#include "syscall.h"
#include "libc.h"
-int select(int n, fd_set *r
fds, fd_set *wfds, fd_set *efds, struct timeval *
tv)
+int select(int n, fd_set *r
estrict rfds, fd_set *restrict wfds, fd_set *restrict efds, struct timeval *restrict
tv)
{
{
- int r;
- CANCELPT_BEGIN;
- r = syscall5(__NR_select, n, (long)rfds, (long)wfds, (long)efds, (long)tv);
- CANCELPT_END;
- return r;
+ return syscall_cp(SYS_select, n, rfds, wfds, efds, tv);
}
}