summaryrefslogtreecommitdiff
path: root/test/clock_gettime.c
blob: 8de7e81ec512888798f7c6cf6f8436625d72b58e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
/*
 * Items: clock_gettime(
 * Standardized-By: SuS
 * Detected-by: gcc-4.4.3 + Linux
 */

#include <time.h>

main(int arg, char **argv)
{
    struct timespec ts;
    (void)clock_gettime(0, &ts);
}