view doc/posix-functions/utime.texi @ 16254:da62858ef2f6

doc: Update for Solaris 11 2011-11. * doc/*/*.texi: Mention Solaris 11 2011-11 where appropriate. * m4/printf.m4: Update comments.
author Bruno Haible <bruno@clisp.org>
date Sun, 08 Jan 2012 19:57:28 +0100
parents 6355dc4626b5
children
line wrap: on
line source

@node utime
@section @code{utime}
@findex utime

POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/functions/utime.html}

Gnulib module: ---

Portability problems fixed by Gnulib:
@itemize
@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 utimens,
instead.
@item
On some platforms, the prototype for @code{utime} omits @code{const}
for the second argument.  Fortunately, the argument is not modified,
so it is safe to cast away const:
mingw, MSVC 9.
@end itemize