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

#include <time.h>

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