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
|
||||
.B #include <sys/stat.h>
|
||||
.sp
|
||||
.BI "int chmod(const char *" path ", mode_t " mode );
|
||||
.BI "int chmod(const char *" pathname ", mode_t " mode );
|
||||
.br
|
||||
.BI "int fchmod(int " fd ", mode_t " mode );
|
||||
.sp
|
||||
|
@ -88,7 +88,7 @@ They differ only in how the file is specified:
|
|||
.IP * 2
|
||||
.BR chmod ()
|
||||
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.
|
||||
.IP *
|
||||
.BR fchmod ()
|
||||
|
@ -247,7 +247,7 @@ Search permission is denied on a component of the path prefix.
|
|||
.BR path_resolution (7).)
|
||||
.TP
|
||||
.B EFAULT
|
||||
.I path
|
||||
.I pathname
|
||||
points outside your accessible address space.
|
||||
.TP
|
||||
.B EIO
|
||||
|
@ -255,10 +255,10 @@ An I/O error occurred.
|
|||
.TP
|
||||
.B ELOOP
|
||||
Too many symbolic links were encountered in resolving
|
||||
.IR path .
|
||||
.IR pathname .
|
||||
.TP
|
||||
.B ENAMETOOLONG
|
||||
.I path
|
||||
.I pathname
|
||||
is too long.
|
||||
.TP
|
||||
.B ENOENT
|
||||
|
|
Loading…
Reference in New Issue