Updated to fedora-glibc-20041207T1331
[glibc.git] / rt / tst-timer5.c
blob2683021edaa0bb8835b813bd2e83403759e1ae9e
1 /* Timer test using the monotonic clock. */
3 #include <time.h>
4 #include <unistd.h>
6 #if defined CLOCK_MONOTONIC && defined _POSIX_MONOTONIC_CLOCK
7 # define TEST_CLOCK CLOCK_MONOTONIC
8 # define TEST_CLOCK_MISSING(clock) \
9 (sysconf (_SC_MONOTONIC_CLOCK) > 0 ? NULL : #clock)
10 # include "tst-timer4.c"
11 #else
12 # define TEST_FUNCTION 0
13 # include "../test-skeleton.c"
14 #endif