Hash :
b4f88b3c
Author :
Date :
2018-07-24T03:31:36
doc: For module names, use texinfo markup @code{} or @samp{}.
* doc/alloca.texi: Mark gnulib module names with @code.
* doc/alloca-opt.texi: Likewise.
* doc/quote.texi: Likewise.
* doc/posix-functions/freopen.texi: Likewise.
* doc/posix-functions/open.texi: Likewise.
* doc/posix-functions/readlink.texi: Likewise.
* doc/posix-functions/readlinkat.texi: Likewise.
* doc/posix-functions/stdout.texi: Likewise.
* doc/posix-functions/stderr.texi: Likewise.
* doc/posix-functions/unlink.texi: Likewise.
* doc/posix-functions/unlinkat.texi: Likewise.
* doc/posix-functions/utime.texi: Likewise.
* doc/posix-functions/utimensat.texi: Likewise.
* doc/posix-functions/utimes.texi: Likewise.
* doc/posix-headers/stdint.texi: Likewise.
* doc/glibc-functions/futimesat.texi: Likewise.
* doc/glibc-functions/lutimes.texi: Likewise.
* doc/glibc-functions/memmem.texi: Likewise.
@node utime
@section @code{utime}
@findex utime
POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/functions/utime.html}
Gnulib module: utime
Portability problems fixed by Gnulib:
@itemize
@item
The times that are set on the file are affected by the current time zone and
by the DST flag of the current time zone on some platforms:
mingw, MSVC 14 (when the environment variable @code{TZ} is set).
@item
On some platforms, the prototype for @code{utime} omits @code{const}
for the second argument:
mingw, MSVC 14.
@end itemize
Portability problems not fixed by Gnulib:
@itemize
@item
On some old platforms (Sequent), @code{utime (file, NULL)} fails to set the
file's timestamp to the current time.
@item
On some platforms, this function mis-handles trailing slash:
Solaris 9.
@item
This function cannot set full timestamp resolution. Use
@code{utimensat(AT_FDCWD,file,times,0)}, or the gnulib module @code{utimens},
instead.
@end itemize