mirror of https://github.com/mkerrisk/man-pages
s/filedes/fd/
This commit is contained in:
parent
de5c8e39f9
commit
d3b03141a9
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -28,7 +28,7 @@ fpathconf, pathconf \- get configuration values for files
|
|||
.nf
|
||||
.B #include <unistd.h>
|
||||
.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.
|
||||
|
|
Loading…
Reference in New Issue