X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=doc%2Fposix-functions%2Futime.texi;h=f50af81e1edd0d7f5f45257ba8e09a92da22a2f4;hb=54b5ce0e1a4f6a4af37f970e45e6e173e5b0a1c6;hp=8df87f95d4a97773b6be15a0a3d1ade78fbd90da;hpb=2b6c08c775ae4e80b52aa41058ea5939f778b44b;p=gnulib.git diff --git a/doc/posix-functions/utime.texi b/doc/posix-functions/utime.texi index 8df87f95d..f50af81e1 100644 --- a/doc/posix-functions/utime.texi +++ b/doc/posix-functions/utime.texi @@ -2,17 +2,29 @@ @section @code{utime} @findex utime -POSIX specification: @url{http://www.opengroup.org/susv3xsh/utime.html} +POSIX specification: @url{http://www.opengroup.org/onlinepubs/9699919799/functions/utime.html} Gnulib module: utime Portability problems fixed by Gnulib: @itemize @item -On some old platforms, @code{utime (file, NULL)} fails to set the file's -timestamp to the current time. +On some old platforms (Sequent), @code{utime (file, NULL)} fails to set the +file's timestamp to the current time. @end itemize Portability problems not fixed by Gnulib: @itemize +@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. @end itemize