regex_internal.h: define __attribute_warn_unused_result__
[gnulib.git] / doc / posix-functions / utime.texi
index 0f7b1f8..f50af81 100644 (file)
@@ -9,10 +9,22 @@ 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