repo.or.cz
/
minix.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
etc/services - sync with NetBSD-8
[minix.git]
/
minix
/
lib
/
libc
/
sys
/
sigsuspend.c
blob
34a969521087bdf7164a3bab6bf18fd562031634
1
#include <sys/cdefs.h>
2
#include <lib.h>
3
#include
"namespace.h"
4
5
#include <string.h>
6
#include <signal.h>
7
8
int
sigsuspend
(
set
)
9
const
sigset_t
*
set
;
10
{
11
message m
;
12
13
memset
(&
m
,
0
,
sizeof
(
m
));
14
m
.
m_lc_pm_sigset
.
set
= *
set
;
15
return
(
_syscall
(
PM_PROC_NR
,
PM_SIGSUSPEND
, &
m
));
16
}
17
18
#if defined(__minix) && defined(__weak_alias)
19
__weak_alias
(
sigsuspend
,
__sigsuspend14
)
20
#endif