diff options
| author | Michael Kerrisk <mtk.manpages@gmail.com> | 2006-08-09 09:08:01 +0000 |
|---|---|---|
| committer | Michael Kerrisk <mtk.manpages@gmail.com> | 2006-08-09 09:08:01 +0000 |
| commit | 1343b6043b79b9aa00550dd1b057ae798805b071 (patch) | |
| tree | 863f103cd6a48856c90f3e313a11a301790bb0ea /man2/fchmodat.2 | |
| parent | 237aa7c5b75170e1e1e54f59a910c7578745fcfa (diff) | |
| download | man-pages-1343b6043b79b9aa00550dd1b057ae798805b071.tar.gz | |
Make naming of 'pathname' argument consistent; various minor rewordings.
Diffstat (limited to 'man2/fchmodat.2')
| -rw-r--r-- | man2/fchmodat.2 | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/man2/fchmodat.2 b/man2/fchmodat.2 index 1c0ab242bb..8e43712a4e 100644 --- a/man2/fchmodat.2 +++ b/man2/fchmodat.2 @@ -31,7 +31,7 @@ file descriptor .nf .B #include <sys/stat.h> .sp -.BI "int fchmodat(int " dirfd ", const char *" path ", mode_t " \ +.BI "int fchmodat(int " dirfd ", const char *" pathname ", mode_t " \ mode ", int " flags ); .fi .SH DESCRIPTION @@ -42,7 +42,7 @@ system call operates in exactly the same way as except for the differences described in this manual page. If the pathname given in -.I path +.I pathname is relative, then it is interpreted relative to the directory referred to by the file descriptor .IR dirfd @@ -51,20 +51,20 @@ the calling process, as is done by .BR chmod (2) for a relative pathname). -If the pathname given in -.I path +If +.I pathname is relative and .I dirfd is the special value .BR AT_FDCWD , then -.I path +.I pathname is interpreted relative to the current working directory of the calling process (like .BR chmod (2)). -If the pathname given in -.IR path +If +.IR pathname is absolute, then .I dirfd is ignored. @@ -74,7 +74,7 @@ can either be 0, or include the following flag: .TP .B AT_SYMLINK_NOFOLLOW If -.I path +.I pathname is a symbolic link, do not dereference it: instead operate on the link itself. This flag is not currently implemented. @@ -102,7 +102,7 @@ Invalid flag specified in .IR flags . .TP .B ENOTDIR -.I path +.I pathname is relative and .I dirfd is a file descriptor referring to a file other than a directory. |
