Linux Audio
Check our new training course
Embedded Linux Audio
1 2 3 4 5 6 7 8 9 10
#include <signal.h> #include <errno.h> int sigprocmask(int how, const sigset_t *restrict set, sigset_t *restrict old) { int r = pthread_sigmask(how, set, old); if (!r) return r; errno = r; return -1; }