mirror of
https://github.com/fluencelabs/musl
synced 2025-06-30 07:02:41 +00:00
11 lines
204 B
C
11 lines
204 B
C
![]() |
#include <signal.h>
|
||
|
#include <errno.h>
|
||
|
#include <pthread.h>
|
||
|
|
||
|
int pthread_sigmask(int how, const sigset_t *set, sigset_t *old)
|
||
|
{
|
||
|
int ret = sigprocmask(how, set, old);
|
||
|
if (ret) return errno;
|
||
|
return 0;
|
||
|
}
|