repo.or.cz
/
minix3.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
. pci driver now returns devices, even when they have been pci_reserve()d
[minix3.git]
/
lib
/
posix
/
_sigpending.c
blob
e214058e2fa6c5625ffd34e0f7304fa968f02160
1
#include <lib.h>
2
#define sigpending _sigpending
3
#include <signal.h>
4
5
PUBLIC
int
sigpending
(
set
)
6
sigset_t
*
set
;
7
{
8
message m
;
9
10
if
(
_syscall
(
MM
,
SIGPENDING
, &
m
) <
0
)
return
(-
1
);
11
*
set
= (
sigset_t
)
m
.
m2_l1
;
12
return
(
m
.
m_type
);
13
}