2 @section @code{futimens}
5 POSIX specification: @url{http://www.opengroup.org/onlinepubs/9699919799/functions/futimens.html}
7 Gnulib module: futimens
9 Portability problems fixed by Gnulib:
12 This function is missing on some platforms:
13 glibc 2.3.6, MacOS X 10.3, FreeBSD 6.0, NetBSD 3.0, OpenBSD 3.8, AIX
14 5.1, HP-UX 11, IRIX 6.5, OSF/1 5.1, Solaris 10, Cygwin 1.5.x, mingw,
16 However, the replacement function may end up truncating timestamps to
17 less resolution than supported by the file system.
19 This function returns a bogus value instead of failing with
20 @code{ENOSYS} on some platforms:
23 When using @code{UTIME_OMIT} or @code{UTIME_NOW}, some systems require
24 the @code{tv_sec} argument to be 0, and don't necessarily handle all
25 file permissions in the manner required by POSIX:
29 Portability problems not fixed by Gnulib:
32 Some platforms lack the ability to change the timestamps of a file
33 descriptor, so the replacement can fail with @code{ENOSYS}; the gnulib
34 module @samp{utimens} provides a more reliable interface @code{fdutimens}.
36 The mere act of using @code{stat} modifies the access time of
37 directories on some platforms, so @code{utimensat} can only
38 effectively change directory modification time: