blob: 691e9e51a4b7545894bd2f6713e7f6bdee6451ad (
plain)
1
2
3
4
5
6
7
8
|
#include <signal.h>
#include <errno.h>
#include <pthread.h>
int pthread_sigmask(int how, const sigset_t*newset, sigset_t *oldset) {
return (sigprocmask(how,newset,oldset)==-1)?(*(__errno_location())):0;
}
|