Last change
on this file since 445 was 444, checked in by coas-nagasima, 4 years ago |
muslのソースコードを追加
|
-
Property svn:eol-style
set to
native
-
Property svn:mime-type
set to
text/x-csrc;charset=UTF-8
|
File size:
445 bytes
|
Line | |
---|
1 | #include <sys/select.h>
|
---|
2 | #include <signal.h>
|
---|
3 | #include <stdint.h>
|
---|
4 | #include "syscall.h"
|
---|
5 | #include "libc.h"
|
---|
6 |
|
---|
7 | int pselect(int n, fd_set *restrict rfds, fd_set *restrict wfds, fd_set *restrict efds, const struct timespec *restrict ts, const sigset_t *restrict mask)
|
---|
8 | {
|
---|
9 | syscall_arg_t data[2] = { (uintptr_t)mask, _NSIG/8 };
|
---|
10 | struct timespec ts_tmp;
|
---|
11 | if (ts) ts_tmp = *ts;
|
---|
12 | return syscall_cp(SYS_pselect6, n, rfds, wfds, efds, ts ? &ts_tmp : 0, data);
|
---|
13 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.