NetBSD/lib/libc/sys/timer_create.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

14 lines
195 B
C

#include <signal.h>
#include <time.h>
#include <errno.h>
int
timer_create(clock_id, evp, timerid)
clockid_t clock_id;
struct sigevent *evp;
timer_t *timerid;
{
errno = ENOSYS;
return -1;
}