12 lines
196 B
C
Executable file
12 lines
196 B
C
Executable file
#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));
|
|
}
|