mirror of https://github.com/mkerrisk/man-pages
chmod.2: Use argument name 'pathname' throughout page
(Some APIs were using 'path' while others used 'pathname') Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
7a99cc7799
commit
b828fc2576
10
man2/chmod.2
10
man2/chmod.2
|
@ -36,7 +36,7 @@ chmod, fchmod, fchmodat \- change permissions of a file
|
||||||
.nf
|
.nf
|
||||||
.B #include <sys/stat.h>
|
.B #include <sys/stat.h>
|
||||||
.sp
|
.sp
|
||||||
.BI "int chmod(const char *" path ", mode_t " mode );
|
.BI "int chmod(const char *" pathname ", mode_t " mode );
|
||||||
.br
|
.br
|
||||||
.BI "int fchmod(int " fd ", mode_t " mode );
|
.BI "int fchmod(int " fd ", mode_t " mode );
|
||||||
.sp
|
.sp
|
||||||
|
@ -88,7 +88,7 @@ They differ only in how the file is specified:
|
||||||
.IP * 2
|
.IP * 2
|
||||||
.BR chmod ()
|
.BR chmod ()
|
||||||
changes the permissions of the file specified whose pathname is given in
|
changes the permissions of the file specified whose pathname is given in
|
||||||
.IR path ,
|
.IR pathname ,
|
||||||
which is dereferenced if it is a symbolic link.
|
which is dereferenced if it is a symbolic link.
|
||||||
.IP *
|
.IP *
|
||||||
.BR fchmod ()
|
.BR fchmod ()
|
||||||
|
@ -247,7 +247,7 @@ Search permission is denied on a component of the path prefix.
|
||||||
.BR path_resolution (7).)
|
.BR path_resolution (7).)
|
||||||
.TP
|
.TP
|
||||||
.B EFAULT
|
.B EFAULT
|
||||||
.I path
|
.I pathname
|
||||||
points outside your accessible address space.
|
points outside your accessible address space.
|
||||||
.TP
|
.TP
|
||||||
.B EIO
|
.B EIO
|
||||||
|
@ -255,10 +255,10 @@ An I/O error occurred.
|
||||||
.TP
|
.TP
|
||||||
.B ELOOP
|
.B ELOOP
|
||||||
Too many symbolic links were encountered in resolving
|
Too many symbolic links were encountered in resolving
|
||||||
.IR path .
|
.IR pathname .
|
||||||
.TP
|
.TP
|
||||||
.B ENAMETOOLONG
|
.B ENAMETOOLONG
|
||||||
.I path
|
.I pathname
|
||||||
is too long.
|
is too long.
|
||||||
.TP
|
.TP
|
||||||
.B ENOENT
|
.B ENOENT
|
||||||
|
|
Loading…
Reference in New Issue