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 | |
| parent | 237aa7c5b75170e1e1e54f59a910c7578745fcfa (diff) | |
| download | man-pages-1343b6043b79b9aa00550dd1b057ae798805b071.tar.gz | |
Make naming of 'pathname' argument consistent; various minor rewordings.
Diffstat (limited to 'man2')
| -rw-r--r-- | man2/faccessat.2 | 18 | ||||
| -rw-r--r-- | man2/fchmodat.2 | 18 | ||||
| -rw-r--r-- | man2/fchownat.2 | 18 | ||||
| -rw-r--r-- | man2/fstatat.2 | 18 | ||||
| -rw-r--r-- | man2/futimesat.2 | 10 | ||||
| -rw-r--r-- | man2/linkat.2 | 4 | ||||
| -rw-r--r-- | man2/mkdirat.2 | 4 | ||||
| -rw-r--r-- | man2/mknodat.2 | 4 | ||||
| -rw-r--r-- | man2/openat.2 | 4 | ||||
| -rw-r--r-- | man2/readlinkat.2 | 16 | ||||
| -rw-r--r-- | man2/renameat.2 | 4 | ||||
| -rw-r--r-- | man2/symlinkat.2 | 4 |
12 files changed, 61 insertions, 61 deletions
diff --git a/man2/faccessat.2 b/man2/faccessat.2 index 097edfd2a1..b06d4820a0 100644 --- a/man2/faccessat.2 +++ b/man2/faccessat.2 @@ -31,7 +31,7 @@ file descriptor .nf .B #include <unistd.h> .sp -.BI "int faccessat(int " dirfd ", const char *" path ", int " \ +.BI "int faccessat(int " dirfd ", const char *" pathname ", int " \ 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 access (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 access (2)). -If the pathname given in -.IR path +If +.IR pathname is absolute, then .I dirfd is ignored. @@ -81,7 +81,7 @@ uses the effective IDs (like .TP .B AT_SYMLINK_NOFOLLOW If -.I path +.I pathname is a symbolic link, do not dereference it: instead return information about the link itself. .SH "RETURN VALUE" @@ -108,7 +108,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. 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. diff --git a/man2/fchownat.2 b/man2/fchownat.2 index 49ff28bffe..49f30811d5 100644 --- a/man2/fchownat.2 +++ b/man2/fchownat.2 @@ -31,7 +31,7 @@ file descriptor .nf .B #include <unistd.h> .sp -.BI "int fchownat(int " dirfd ", const char *" path , +.BI "int fchownat(int " dirfd ", const char *" pathname , .BI " uid_t " owner ", gid_t " group ", 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 chown (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 chown (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, like .BR lchown (2). @@ -106,7 +106,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. diff --git a/man2/fstatat.2 b/man2/fstatat.2 index 4b3be9b423..75aac1f529 100644 --- a/man2/fstatat.2 +++ b/man2/fstatat.2 @@ -30,7 +30,7 @@ fstatat \- get file status relative to a directory file descriptor .nf .B #include <sys/stat.h> .sp -.BI "int fstatat(int " dirfd ", const char *" path ", struct stat *" \ +.BI "int fstatat(int " dirfd ", const char *" pathname ", struct stat *" \ buf ", int " flags ); .fi .SH DESCRIPTION @@ -41,7 +41,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 @@ -50,20 +50,20 @@ the calling process, as is done by .BR stat (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 stat (2)). -If the pathname given in -.IR path +If +.IR pathname is absolute, then .I dirfd is ignored. @@ -73,7 +73,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 return information about the link itself, like .BR lstat (2). @@ -105,7 +105,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. diff --git a/man2/futimesat.2 b/man2/futimesat.2 index 7330c566bd..9b60345576 100644 --- a/man2/futimesat.2 +++ b/man2/futimesat.2 @@ -51,7 +51,7 @@ the calling process, as is done by .BR utimes (2) for a relative pathname). -If the pathname given in +If .I pathname is relative and .I dirfd @@ -63,7 +63,7 @@ is interpreted relative to the current working directory of the calling process (like .BR utimes (2)). -If the pathname given in +If .IR pathname is absolute, then .I dirfd @@ -97,9 +97,9 @@ This system call is non-standard but is proposed for inclusion in a future revision of POSIX.1. A similar system call exists on Solaris. .SH GLIBC NOTES -If the -.I path -argument is NULL, then the glibc +If +.I pathname +is NULL, then the glibc .BR futimes () wrapper function updates the times for the file referred to by .IR dirfd . diff --git a/man2/linkat.2 b/man2/linkat.2 index 7f30b8ed0f..da41a162d4 100644 --- a/man2/linkat.2 +++ b/man2/linkat.2 @@ -50,7 +50,7 @@ the calling process, as is done by .BR link (2) for a relative pathname). -If the pathname given in +If .I oldpath is relative and .I olddirfd @@ -62,7 +62,7 @@ is interpreted relative to the current working directory of the calling process (like .BR link (2)). -If the pathname given in +If .IR oldpath is absolute, then .I olddirfd diff --git a/man2/mkdirat.2 b/man2/mkdirat.2 index 8445a59dbb..f8d5d69533 100644 --- a/man2/mkdirat.2 +++ b/man2/mkdirat.2 @@ -49,7 +49,7 @@ the calling process, as is done by .BR mkdir (2) for a relative pathname). -If the pathname given in +If .I pathname is relative and .I dirfd @@ -61,7 +61,7 @@ is interpreted relative to the current working directory of the calling process (like .BR mkdir (2)). -If the pathname given in +If .IR pathname is absolute, then .I dirfd diff --git a/man2/mknodat.2 b/man2/mknodat.2 index 3f571038fb..610a6b792a 100644 --- a/man2/mknodat.2 +++ b/man2/mknodat.2 @@ -50,7 +50,7 @@ the calling process, as is done by .BR mknod (2) for a relative pathname). -If the pathname given in +If .I pathname is relative and .I dirfd @@ -62,7 +62,7 @@ is interpreted relative to the current working directory of the calling process (like .BR mknod (2)). -If the pathname given in +If .IR pathname is absolute, then .I dirfd diff --git a/man2/openat.2 b/man2/openat.2 index 4302e9388b..f5c860d7c3 100644 --- a/man2/openat.2 +++ b/man2/openat.2 @@ -51,7 +51,7 @@ the calling process, as is done by .BR open (2) for a relative pathname). -If the pathname given in +If .I pathname is relative and .I dirfd @@ -63,7 +63,7 @@ is interpreted relative to the current working directory of the calling process (like .BR open (2)). -If the pathname given in +If .IR pathname is absolute, then .I dirfd diff --git a/man2/readlinkat.2 b/man2/readlinkat.2 index 2d90a9dd72..6ad97d03d9 100644 --- a/man2/readlinkat.2 +++ b/man2/readlinkat.2 @@ -30,7 +30,7 @@ readlinkat \- read value of a symbolic link relative to a directory file descrip .nf .B #include <unistd.h> .sp -.BI "int readlinkat(int " dirfd ", const char *" path \ +.BI "int readlinkat(int " dirfd ", const char *" pathname \ ", char *" buf ", size_t " bufsiz ); .fi .SH DESCRIPTION @@ -41,7 +41,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 @@ -50,20 +50,20 @@ the calling process, as is done by .BR readlink (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 readlink (2)). -If the pathname given in -.IR path +If +.IR pathname is absolute, then .I dirfd is ignored. @@ -87,7 +87,7 @@ The following additional errors can occur for is not a valid file descriptor. .TP .B ENOTDIR -.I path +.I pathname is relative and .I dirfd is a file descriptor referring to a file other than a directory. diff --git a/man2/renameat.2 b/man2/renameat.2 index b6d53494fd..cd4c57dccd 100644 --- a/man2/renameat.2 +++ b/man2/renameat.2 @@ -50,7 +50,7 @@ the calling process, as is done by .BR rename (2) for a relative pathname). -If the pathname given in +If .I oldpath is relative and .I olddirfd @@ -62,7 +62,7 @@ is interpreted relative to the current working directory of the calling process (like .BR rename (2)). -If the pathname given in +If .IR oldpath is absolute, then .I olddirfd diff --git a/man2/symlinkat.2 b/man2/symlinkat.2 index 116e8f56d2..24f23994f9 100644 --- a/man2/symlinkat.2 +++ b/man2/symlinkat.2 @@ -50,7 +50,7 @@ the calling process, as is done by .BR symlink (2) for a relative pathname). -If the pathname given in +If .I newpath is relative and .I newdirfd @@ -62,7 +62,7 @@ is interpreted relative to the current working directory of the calling process (like .BR symlink (2)). -If the pathname given in +If .IR newpath is absolute, then .I newdirfd |
