diff options
author | 1997-04-20 20:56:17 +0000 | |
---|---|---|
committer | 1997-04-20 20:56:17 +0000 | |
commit | 860d5110bab0554d612da9521d84ffa60883c5a5 (patch) | |
tree | 5ad5a98c89db796dac8882993bb4c3b00705bd8b /lib/libc/sys/timer_settime.c | |
parent | Allow kern_clock.c to see interrupt frames on i386 (diff) | |
download | wireguard-openbsd-860d5110bab0554d612da9521d84ffa60883c5a5.tar.xz wireguard-openbsd-860d5110bab0554d612da9521d84ffa60883c5a5.zip |
New POSIX 1003.1b syscalls; from pk@NetBSD
Diffstat (limited to 'lib/libc/sys/timer_settime.c')
-rw-r--r-- | lib/libc/sys/timer_settime.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/lib/libc/sys/timer_settime.c b/lib/libc/sys/timer_settime.c new file mode 100644 index 00000000000..ff42e9cd0c7 --- /dev/null +++ b/lib/libc/sys/timer_settime.c @@ -0,0 +1,14 @@ +#include <signal.h> +#include <time.h> +#include <errno.h> + +int +timer_settime(timerid, flags, value, ovalue) + timer_t timerid; + int flags; + const struct itimerspec *value; + struct itimerspec *ovalue; +{ + errno = ENOSYS; + return -1; +} |