summaryrefslogtreecommitdiffstats
path: root/flags/try_clock_gettime.c
blob: b6aa5afceeaaf3f624165f359f6e0d9ef8fc0aea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#include <stdlib.h>
#include <unistd.h>
#ifdef SYSV
	#include <time.h>
#else
	#include <sys/time.h>
#endif


int main(void)
{
	struct timespec s;
	clock_gettime(CLOCK_REALTIME, &s);
	return EXIT_SUCCESS;
}