var scope reduction
[trinity.git] / syscalls / alarm.c
blob64620d4eb8a091d66c96f08de1bbf5467090d675
1 /*
2 * SYSCALL_DEFINE1(alarm, unsigned int, seconds)
4 * returns the number of seconds remaining until any previously scheduled alarm was due to be delivered,
5 * or zero if there was no previously scheduled
6 */
7 #include "sanitise.h"
9 struct syscallentry syscall_alarm = {
10 .flags = AVOID_SYSCALL, /* we rely on a useful alarm for every syscall. */
11 .name = "alarm",
12 .num_args = 1,
13 .arg1name = "seconds",