summaryrefslogtreecommitdiff
path: root/src/sysdeps/tryfutimens.c
blob: 222fea597ad34754d054e7aab739f5bcdfd7684f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* ISC license. */

#undef _POSIX_C_SOURCE
#undef _XOPEN_SOURCE
#ifndef __EXTENSIONS__
#define __EXTENSIONS__
#endif

#include <sys/types.h>
#include <sys/stat.h>
#include <time.h>

int main (void)
{
  struct timespec foo[2] = { { .tv_sec = 0, .tv_nsec = 0 }, { .tv_sec = 0, .tv_nsec = 0 } } ;
  futimens(0, foo) ;
  return 0 ;
}