minix/lib/posix/_alarm.c
2009-11-09 10:26:00 +00:00

12 lines
196 B
C

#include <lib.h>
#define alarm _alarm
#include <unistd.h>
PUBLIC unsigned int alarm(sec)
unsigned int sec;
{
message m;
m.m1_i1 = (int) sec;
return( (unsigned) _syscall(MM, ALARM, &m));
}