view doc/posix-functions/utime.texi @ 17632:86af85d364e1 default tip

unistd: port readlink to Mac OS X 10.3.9 * lib/unistd.in.h (_GL_INCLUDING_UNISTD_H): New macro, to work around self-include problem in Mac OS X 10.3.9 when combined with readlink module. Problem reported by Klaus Zietler in <http://bugs.gnu.org/16825>.
author Paul Eggert <eggert@penguin.cs.ucla.edu>
date Tue, 25 Feb 2014 11:16:27 -0800 (2014-02-25)
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