blob: 67e2b82e2ba8362f0db5272477d6588132e28689 [file] [log] [blame]
#include <signal.h>
#include <errno.h>
int sigprocmask(int how, const sigset_t *set, sigset_t *old)
{
int r = pthread_sigmask(how, set, old);
if (!r) return r;
errno = r;
return -1;
}