From b828fc2576262365727ca0d53f39cd6edadd442c Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Fri, 21 Feb 2014 12:18:54 +0100 Subject: [PATCH] chmod.2: Use argument name 'pathname' throughout page (Some APIs were using 'path' while others used 'pathname') Signed-off-by: Michael Kerrisk --- man2/chmod.2 | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/man2/chmod.2 b/man2/chmod.2 index e09d03ecf..bf9685d84 100644 --- a/man2/chmod.2 +++ b/man2/chmod.2 @@ -36,7 +36,7 @@ chmod, fchmod, fchmodat \- change permissions of a file .nf .B #include .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