source:
EcnlProtoTool/trunk/musl-1.1.18/src/signal/sigprocmask.c
Last change on this file was 444, checked in by , 4 years ago | |
---|---|
|
|
File size: 207 bytes |
Line | |
---|---|
1 | #include <signal.h> |
2 | #include <errno.h> |
3 | |
4 | int sigprocmask(int how, const sigset_t *restrict set, sigset_t *restrict old) |
5 | { |
6 | int r = pthread_sigmask(how, set, old); |
7 | if (!r) return r; |
8 | errno = r; |
9 | return -1; |
10 | } |
Note:
See TracBrowser
for help on using the repository browser.