diff options
author | Jakob Kaivo <jkk@ung.org> | 2020-08-13 10:34:20 -0400 |
---|---|---|
committer | Jakob Kaivo <jkk@ung.org> | 2020-08-13 10:34:20 -0400 |
commit | 894de819a55a7afcb4ed41563f5cd3f120bee8b8 (patch) | |
tree | 8f8936d049a0a81cad19b452c504cc2a436c7d56 /src/unistd | |
parent | a240143eabbacd97de490e578ba68337fd866683 (diff) |
implement as syscall
Diffstat (limited to 'src/unistd')
-rw-r--r-- | src/unistd/alarm.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/unistd/alarm.c b/src/unistd/alarm.c index 00130347..2adaff7c 100644 --- a/src/unistd/alarm.c +++ b/src/unistd/alarm.c @@ -5,11 +5,7 @@ unsigned alarm(unsigned seconds) { - #if 0 - SC(unsigned, seconds); - #else - return seconds; - #endif + SYSCALL(alarm, unsigned, 0, seconds, 0, 0, 0, 0, 0); } /* POSIX(1) |