NetBSD/lib/libc/sys/timer_gettime.c
jtc ef676dcc1a Add stubs which set errno to ENOSYS and return -1 for the POSIX.1b
timer_* API.  This was done to avoid bumping the libc minor number
each time a new portion is implemented.

This should be extended to the entire .1b API, although that will
require minor header file modifications to add the required structure
and type definitions.
1997-04-17 19:07:15 +00:00

13 lines
170 B
C

#include <signal.h>
#include <time.h>
#include <errno.h>
int
timer_gettime(timerid, value)
timer_t timerid;
struct itimerspec *value;
{
errno = ENOSYS;
return -1;
}