diff options
Diffstat (limited to 'src/sysdeps/tryfutimes.c')
-rw-r--r-- | src/sysdeps/tryfutimes.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/sysdeps/tryfutimes.c b/src/sysdeps/tryfutimes.c new file mode 100644 index 0000000..a65ab5a --- /dev/null +++ b/src/sysdeps/tryfutimes.c @@ -0,0 +1,11 @@ +/* ISC license. */ + +#include <sys/types.h> +#include <sys/time.h> + +int main (void) +{ + struct timeval foo[2] = { { .tv_sec = 0, .tv_usec = 0 }, { .tv_sec = 0, .tv_usec = 0 } } ; + futimes(0, foo) ; + return 0 ; +} |