summaryrefslogtreecommitdiffstats
path: root/build/has/timer-create.c
blob: d5354c33ff50354db31c0ca9a465ef5200f6d5c5 (plain)
1
2
3
4
5
6
7
8
9
// Copyright © Tavian Barnes <tavianator@tavianator.com>
// SPDX-License-Identifier: 0BSD

#include <time.h>

int main(void) {
	timer_t timer;
	return timer_create(CLOCK_REALTIME, NULL, &timer);
}