summaryrefslogtreecommitdiff
path: root/lib/libc/sys/timer_create.c
blob: 5add616918ef595811aabf70af98403059f3814d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/*	$OpenBSD: timer_create.c,v 1.7 2015/09/12 13:13:34 guenther Exp $ */

#include <signal.h>
#include <time.h>
#include <errno.h>

struct sigevent;

int	timer_create(clockid_t, struct sigevent *, timer_t *);
PROTO_DEPRECATED(timer_create);

int
timer_create(clockid_t clock_id, struct sigevent *evp, timer_t *timerid)
{
	errno = ENOSYS;
	return -1;
}