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
some coverity fixes.
[minix.git]
/
lib
/
libc
/
sys-minix
/
sigsuspend.c
blob
a9425eef9d9f2324cffa557f5c15ab6ff3a8d485
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
}