From d3b03141a9723adcabd5efc1024f9393f0cfba4d Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Sun, 23 Dec 2007 21:56:27 +0000 Subject: [PATCH] s/filedes/fd/ --- man2/getxattr.2 | 6 +++--- man2/listxattr.2 | 6 +++--- man2/removexattr.2 | 6 +++--- man2/setxattr.2 | 6 +++--- man2/stat.2 | 6 +++--- man3/fpathconf.3 | 20 ++++++++++---------- 6 files changed, 25 insertions(+), 25 deletions(-) diff --git a/man2/getxattr.2 b/man2/getxattr.2 index 016c0ee76..8507e2d8e 100644 --- a/man2/getxattr.2 +++ b/man2/getxattr.2 @@ -37,7 +37,7 @@ getxattr, lgetxattr, fgetxattr \- retrieve an extended attribute value .BI " void\ *" value ", size_t " size ); .BI "ssize_t lgetxattr(const char\ *" path ", const char\ *" name , .BI " void\ *" value ", size_t " size ); -.BI "ssize_t fgetxattr(int " filedes ", const char\ *" name , +.BI "ssize_t fgetxattr(int " fd ", const char\ *" name , .BI " void\ *" value ", size_t " size ); .fi .fam T @@ -74,8 +74,8 @@ interrogated, not the file that it refers to. .BR fgetxattr () is identical to .BR getxattr (), -only the open file pointed to by -.I filedes +only the open file referred to by +.I fd (as returned by .BR open (2)) is interrogated in place of diff --git a/man2/listxattr.2 b/man2/listxattr.2 index 5314875f1..cace614c0 100644 --- a/man2/listxattr.2 +++ b/man2/listxattr.2 @@ -37,7 +37,7 @@ listxattr, llistxattr, flistxattr \- list extended attribute names ", size_t " size ); .BI "ssize_t llistxattr(const char\ *" path ", char\ *" list \ ", size_t " size ); -.BI "ssize_t flistxattr(int " filedes ", char\ *" list ", size_t " size ); +.BI "ssize_t flistxattr(int " fd ", char\ *" list ", size_t " size ); .fi .fam T .SH DESCRIPTION @@ -73,8 +73,8 @@ not the file that it refers to. .BR flistxattr () is identical to .BR listxattr (), -only the open file pointed to by -.I filedes +only the open file referred to by +.I fd (as returned by .BR open (2)) is interrogated in place of diff --git a/man2/removexattr.2 b/man2/removexattr.2 index 9b9d6c570..20888db52 100644 --- a/man2/removexattr.2 +++ b/man2/removexattr.2 @@ -35,7 +35,7 @@ removexattr, lremovexattr, fremovexattr \- remove an extended attribute .sp .BI "int removexattr(const char\ *" path ", const char\ *" name ); .BI "int lremovexattr(const char\ *" path ", const char\ *" name ); -.BI "int fremovexattr(int " filedes ", const char\ *" name ); +.BI "int fremovexattr(int " fd ", const char\ *" name ); .fi .fam T .SH DESCRIPTION @@ -65,8 +65,8 @@ removed from the link itself, not the file that it refers to. .BR fremovexattr () is identical to .BR removexattr (), -only the extended attribute is removed from the open file pointed to by -.I filedes +only the extended attribute is removed from the open file referred to by +.I fd (as returned by .BR open (2)) in place of diff --git a/man2/setxattr.2 b/man2/setxattr.2 index b7f12ae5e..06b488b7e 100644 --- a/man2/setxattr.2 +++ b/man2/setxattr.2 @@ -37,7 +37,7 @@ setxattr, lsetxattr, fsetxattr \- set an extended attribute value .BI " const void\ *" value ", size_t " size ", int " flags ); .BI "int lsetxattr(const char\ *" path ", const char\ *" name , .BI " const void\ *" value ", size_t " size ", int " flags ); -.BI "int fsetxattr(int " filedes ", const char\ *" name , +.BI "int fsetxattr(int " fd ", const char\ *" name , .BI " const void\ *" value ", size_t " size ", int " flags ); .fi .fam T @@ -76,8 +76,8 @@ set on the link itself, not the file that it refers to. .BR fsetxattr () is identical to .BR setxattr (), -only the extended attribute is set on the open file pointed to by -.I filedes +only the extended attribute is set on the open file referred to by +.I fd (as returned by .BR open (2)) in place of diff --git a/man2/stat.2 b/man2/stat.2 index 42b713617..99831920e 100644 --- a/man2/stat.2 +++ b/man2/stat.2 @@ -49,7 +49,7 @@ stat, fstat, lstat \- get file status .sp .BI "int stat(const char *" path ", struct stat *" buf ); .br -.BI "int fstat(int " filedes ", struct stat *" buf ); +.BI "int fstat(int " fd ", struct stat *" buf ); .br .BI "int lstat(const char *" path ", struct stat *" buf ); .sp @@ -90,7 +90,7 @@ not the file that it refers to. is identical to .BR stat (), except that the file to be stat-ed is specified by the file descriptor -.IR filedes . +.IR fd . .PP All of these system calls return a .I stat @@ -285,7 +285,7 @@ in the path prefix of .BR path_resolution (7).) .TP .B EBADF -.I filedes +.I fd is bad. .TP .B EFAULT diff --git a/man3/fpathconf.3 b/man3/fpathconf.3 index a70bf4654..3a18b89db 100644 --- a/man3/fpathconf.3 +++ b/man3/fpathconf.3 @@ -28,7 +28,7 @@ fpathconf, pathconf \- get configuration values for files .nf .B #include .sp -.BI "long fpathconf(int " filedes ", int " name ); +.BI "long fpathconf(int " fd ", int " name ); .br .BI "long pathconf(char *" path ", int " name ); .fi @@ -37,7 +37,7 @@ fpathconf, pathconf \- get configuration values for files gets a value for the configuration option .I name for the open file descriptor -.IR filedes . +.IR fd . .PP .BR pathconf () gets a value for configuration option @@ -62,7 +62,7 @@ configuration options: .B _PC_LINK_MAX returns the maximum number of links to the file. If -.I filedes +.I fd or .I path refer to a directory, then the value applies to the whole directory. @@ -71,7 +71,7 @@ The corresponding macro is .TP .B _PC_MAX_CANON returns the maximum length of a formatted input line, where -.I filedes +.I fd or .I path must refer to a terminal. @@ -80,7 +80,7 @@ The corresponding macro is .TP .B _PC_MAX_INPUT returns the maximum length of an input line, where -.I filedes +.I fd or .I path must refer to a terminal. @@ -91,7 +91,7 @@ The corresponding macro is returns the maximum length of a filename in the directory .I path or -.IR filedes . +.IR fd . the process is allowed to create. The corresponding macro is .BR _POSIX_NAME_MAX . @@ -100,14 +100,14 @@ The corresponding macro is returns the maximum length of a relative pathname when .I path or -.I filedes +.I fd is the current working directory. The corresponding macro is .BR _POSIX_PATH_MAX . .TP .B _PC_PIPE_BUF returns the size of the pipe buffer, where -.I filedes +.I fd must refer to a pipe or FIFO and .I path must refer to a FIFO. @@ -119,7 +119,7 @@ returns non-zero if the .BR chown (2) call may not be used on this file. If -.I filedes +.I fd or .I path refer to a directory, then this applies to all files in that @@ -136,7 +136,7 @@ The corresponding macro is .TP .B _PC_VDISABLE returns non-zero if special character processing can be disabled, where -.I filedes +.I fd or .I path must refer to a terminal.