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
__aeabi_ldivmod: fix sign logic
[minix.git]
/
lib
/
libc
/
sys-minix
/
sigsuspend.c
blob
64a4023349539507f8cfcb1e78ace66a84264feb
1
#include <sys/cdefs.h>
2
#include <lib.h>
3
#include
"namespace.h"
4
5
#include <signal.h>
6
7
int
sigsuspend
(
set
)
8
const
sigset_t
*
set
;
9
{
10
message m
;
11
12
m
.
m2_l1
= (
long
) *
set
;
13
return
(
_syscall
(
PM_PROC_NR
,
SIGSUSPEND
, &
m
));
14
}
15
16
#if defined(__minix) && defined(__weak_alias)
17
__weak_alias
(
sigsuspend
,
__sigsuspend14
)
18
#endif