projects
/
oweals
/
musl.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
use a_swap rather than old name a_xchg
[oweals/musl.git]
/
src
/
thread
/
pthread_sigmask.c
1
#include <signal.h>
2
#include <errno.h>
3
#include <pthread.h>
4
#include "syscall.h"
5
6
int pthread_sigmask(int how, const sigset_t *set, sigset_t *old)
7
{
8
if (how > 2U) return EINVAL;
9
return -__syscall(SYS_rt_sigprocmask, how, set, old, 8);
10
}