libc: add stub alarm
This commit is contained in:
parent
fb0327a1cf
commit
ffa655ad9d
8
libc/unistd/alarm.c
Normal file
8
libc/unistd/alarm.c
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
#include <stdio.h>
|
||||||
|
|
||||||
|
extern char * _argv_0;
|
||||||
|
|
||||||
|
unsigned int alarm(unsigned int seconds) {
|
||||||
|
fprintf(stderr, "%s: alarm requested (%d seconds)\n", _argv_0, seconds);
|
||||||
|
return 0;
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user