17 lines
266 B
C
17 lines
266 B
C
|
#include <stdio.h>
|
||
|
#include <fcntl.h>
|
||
|
|
||
|
/*
|
||
|
* Include bad _USE_TIME_BITS64 definition to trigger error
|
||
|
*/
|
||
|
|
||
|
#define _TIME_BITS 64
|
||
|
|
||
|
int main(int argc, char **argv)
|
||
|
{
|
||
|
clockid_t my_clk_id;
|
||
|
struct timespec *my_tp;
|
||
|
|
||
|
return clock_gettime( my_clk_id, &my_tp);
|
||
|
}
|