From cbf12fca9cf2eb912c9fa21ef6a678ad53529972 Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Fri, 21 Feb 2014 12:20:32 +0100 Subject: [PATCH] chown.2: Use argument name 'pathname' throughout page (Some APIs were using 'path' while others used 'pathname') Signed-off-by: Michael Kerrisk --- man2/chown.2 | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/man2/chown.2 b/man2/chown.2 index 90f04a8e4..5ff187a75 100644 --- a/man2/chown.2 +++ b/man2/chown.2 @@ -42,11 +42,11 @@ chown, fchown, lchown, fchownat \- change ownership of a file .nf .B #include .sp -.BI "int chown(const char *" path ", uid_t " owner ", gid_t " group ); +.BI "int chown(const char *" pathname ", uid_t " owner ", gid_t " group ); .br .BI "int fchown(int " fd ", uid_t " owner ", gid_t " group ); .br -.BI "int lchown(const char *" path ", uid_t " owner ", gid_t " group ); +.BI "int lchown(const char *" pathname ", uid_t " owner ", gid_t " group ); .sp .BR "#include " "/* Definition of AT_* constants */" .B #include @@ -96,7 +96,7 @@ system calls differ only in how the file is specified: .IP * 2 .BR chown () changes the ownership of the file specified by -.IR path , +.IR pathname , which is dereferenced if it is a symbolic link. .IP * .BR fchown () @@ -235,15 +235,15 @@ 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 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