OSDN Git Service

(split) LDP: Update original to LDP v3.38.
[linuxjm/LDP_man-pages.git] / original / man2 / utimensat.2
index 422a735..a281eff 100644 (file)
 .\" Formatted or processed versions of this manual, if unaccompanied by
 .\" the source, must acknowledge the copyright and authors of this work.
 .\"
-.TH UTIMENSAT 2 2009-12-13 "Linux" "Linux Programmer's Manual"
+.TH UTIMENSAT 2 2012-03-25 "Linux" "Linux Programmer's Manual"
 .SH NAME
 utimensat, futimens \- change file timestamps with nanosecond precision
 .SH SYNOPSIS
 .nf
+.B #include <fcntl.h>           /* Definition of AT_* constants */
 .B #include <sys/stat.h>
 .sp
 .BI "int utimensat(int " dirfd ", const char *" pathname ,
@@ -145,7 +146,7 @@ either:
 the caller must have write access to the file;
 .\" 2.6.22 was broken here -- for futimens() the check is
 .\" based on whether or not the file descriptor is writable,
-.\" not on whether the the caller's effective UID has write
+.\" not on whether the caller's effective UID has write
 .\" permission for the file referred to by the descriptor.
 .IP 2.
 the caller's effective user ID must match the owner of the file; or