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
/
_alarm.c
blob
a0cf3d9c6e2fa8ed15be5bcbfafe22cd18438439
1
#include <lib.h>
2
#define alarm _alarm
3
#include <unistd.h>
4
5
PUBLIC
unsigned int
alarm
(
sec
)
6
unsigned int
sec
;
7
{
8
message m
;
9
10
m
.
m1_i1
= (
int
)
sec
;
11
return
( (
unsigned
)
_syscall
(
MM
,
ALARM
, &
m
));
12
}