tryfutimes.c (281B)
1 /* ISC license. */ 2 3 #undef _POSIX_C_SOURCE 4 #undef _XOPEN_SOURCE 5 #ifndef _BSD_SOURCE 6 #define _BSD_SOURCE 7 #endif 8 9 #include <sys/time.h> 10 11 int main (void) 12 { 13 struct timeval foo[2] = { { .tv_sec = 0, .tv_usec = 0 }, { .tv_sec = 0, .tv_usec = 0 } } ; 14 futimes(0, foo) ; 15 return 0 ; 16 }