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 " void\ *" value ", size_t " size );
|
||||||
.BI "ssize_t lgetxattr(const char\ *" path ", const char\ *" name ,
|
.BI "ssize_t lgetxattr(const char\ *" path ", const char\ *" name ,
|
||||||
.BI " void\ *" value ", size_t " size );
|
.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 );
|
.BI " void\ *" value ", size_t " size );
|
||||||
.fi
|
.fi
|
||||||
.fam T
|
.fam T
|
||||||
|
@ -74,8 +74,8 @@ interrogated, not the file that it refers to.
|
||||||
.BR fgetxattr ()
|
.BR fgetxattr ()
|
||||||
is identical to
|
is identical to
|
||||||
.BR getxattr (),
|
.BR getxattr (),
|
||||||
only the open file pointed to by
|
only the open file referred to by
|
||||||
.I filedes
|
.I fd
|
||||||
(as returned by
|
(as returned by
|
||||||
.BR open (2))
|
.BR open (2))
|
||||||
is interrogated in place of
|
is interrogated in place of
|
||||||
|
|
|
@ -37,7 +37,7 @@ listxattr, llistxattr, flistxattr \- list extended attribute names
|
||||||
", size_t " size );
|
", size_t " size );
|
||||||
.BI "ssize_t llistxattr(const char\ *" path ", char\ *" list \
|
.BI "ssize_t llistxattr(const char\ *" path ", char\ *" list \
|
||||||
", size_t " size );
|
", 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
|
.fi
|
||||||
.fam T
|
.fam T
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
|
@ -73,8 +73,8 @@ not the file that it refers to.
|
||||||
.BR flistxattr ()
|
.BR flistxattr ()
|
||||||
is identical to
|
is identical to
|
||||||
.BR listxattr (),
|
.BR listxattr (),
|
||||||
only the open file pointed to by
|
only the open file referred to by
|
||||||
.I filedes
|
.I fd
|
||||||
(as returned by
|
(as returned by
|
||||||
.BR open (2))
|
.BR open (2))
|
||||||
is interrogated in place of
|
is interrogated in place of
|
||||||
|
|
|
@ -35,7 +35,7 @@ removexattr, lremovexattr, fremovexattr \- remove an extended attribute
|
||||||
.sp
|
.sp
|
||||||
.BI "int removexattr(const char\ *" path ", const char\ *" name );
|
.BI "int removexattr(const char\ *" path ", const char\ *" name );
|
||||||
.BI "int lremovexattr(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
|
.fi
|
||||||
.fam T
|
.fam T
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
|
@ -65,8 +65,8 @@ removed from the link itself, not the file that it refers to.
|
||||||
.BR fremovexattr ()
|
.BR fremovexattr ()
|
||||||
is identical to
|
is identical to
|
||||||
.BR removexattr (),
|
.BR removexattr (),
|
||||||
only the extended attribute is removed from the open file pointed to by
|
only the extended attribute is removed from the open file referred to by
|
||||||
.I filedes
|
.I fd
|
||||||
(as returned by
|
(as returned by
|
||||||
.BR open (2))
|
.BR open (2))
|
||||||
in place of
|
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 " const void\ *" value ", size_t " size ", int " flags );
|
||||||
.BI "int lsetxattr(const char\ *" path ", const char\ *" name ,
|
.BI "int lsetxattr(const char\ *" path ", const char\ *" name ,
|
||||||
.BI " const void\ *" value ", size_t " size ", int " flags );
|
.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 );
|
.BI " const void\ *" value ", size_t " size ", int " flags );
|
||||||
.fi
|
.fi
|
||||||
.fam T
|
.fam T
|
||||||
|
@ -76,8 +76,8 @@ set on the link itself, not the file that it refers to.
|
||||||
.BR fsetxattr ()
|
.BR fsetxattr ()
|
||||||
is identical to
|
is identical to
|
||||||
.BR setxattr (),
|
.BR setxattr (),
|
||||||
only the extended attribute is set on the open file pointed to by
|
only the extended attribute is set on the open file referred to by
|
||||||
.I filedes
|
.I fd
|
||||||
(as returned by
|
(as returned by
|
||||||
.BR open (2))
|
.BR open (2))
|
||||||
in place of
|
in place of
|
||||||
|
|
|
@ -49,7 +49,7 @@ stat, fstat, lstat \- get file status
|
||||||
.sp
|
.sp
|
||||||
.BI "int stat(const char *" path ", struct stat *" buf );
|
.BI "int stat(const char *" path ", struct stat *" buf );
|
||||||
.br
|
.br
|
||||||
.BI "int fstat(int " filedes ", struct stat *" buf );
|
.BI "int fstat(int " fd ", struct stat *" buf );
|
||||||
.br
|
.br
|
||||||
.BI "int lstat(const char *" path ", struct stat *" buf );
|
.BI "int lstat(const char *" path ", struct stat *" buf );
|
||||||
.sp
|
.sp
|
||||||
|
@ -90,7 +90,7 @@ not the file that it refers to.
|
||||||
is identical to
|
is identical to
|
||||||
.BR stat (),
|
.BR stat (),
|
||||||
except that the file to be stat-ed is specified by the file descriptor
|
except that the file to be stat-ed is specified by the file descriptor
|
||||||
.IR filedes .
|
.IR fd .
|
||||||
.PP
|
.PP
|
||||||
All of these system calls return a
|
All of these system calls return a
|
||||||
.I stat
|
.I stat
|
||||||
|
@ -285,7 +285,7 @@ in the path prefix of
|
||||||
.BR path_resolution (7).)
|
.BR path_resolution (7).)
|
||||||
.TP
|
.TP
|
||||||
.B EBADF
|
.B EBADF
|
||||||
.I filedes
|
.I fd
|
||||||
is bad.
|
is bad.
|
||||||
.TP
|
.TP
|
||||||
.B EFAULT
|
.B EFAULT
|
||||||
|
|
|
@ -28,7 +28,7 @@ fpathconf, pathconf \- get configuration values for files
|
||||||
.nf
|
.nf
|
||||||
.B #include <unistd.h>
|
.B #include <unistd.h>
|
||||||
.sp
|
.sp
|
||||||
.BI "long fpathconf(int " filedes ", int " name );
|
.BI "long fpathconf(int " fd ", int " name );
|
||||||
.br
|
.br
|
||||||
.BI "long pathconf(char *" path ", int " name );
|
.BI "long pathconf(char *" path ", int " name );
|
||||||
.fi
|
.fi
|
||||||
|
@ -37,7 +37,7 @@ fpathconf, pathconf \- get configuration values for files
|
||||||
gets a value for the configuration option
|
gets a value for the configuration option
|
||||||
.I name
|
.I name
|
||||||
for the open file descriptor
|
for the open file descriptor
|
||||||
.IR filedes .
|
.IR fd .
|
||||||
.PP
|
.PP
|
||||||
.BR pathconf ()
|
.BR pathconf ()
|
||||||
gets a value for configuration option
|
gets a value for configuration option
|
||||||
|
@ -62,7 +62,7 @@ configuration options:
|
||||||
.B _PC_LINK_MAX
|
.B _PC_LINK_MAX
|
||||||
returns the maximum number of links to the file.
|
returns the maximum number of links to the file.
|
||||||
If
|
If
|
||||||
.I filedes
|
.I fd
|
||||||
or
|
or
|
||||||
.I path
|
.I path
|
||||||
refer to a directory, then the value applies to the whole directory.
|
refer to a directory, then the value applies to the whole directory.
|
||||||
|
@ -71,7 +71,7 @@ The corresponding macro is
|
||||||
.TP
|
.TP
|
||||||
.B _PC_MAX_CANON
|
.B _PC_MAX_CANON
|
||||||
returns the maximum length of a formatted input line, where
|
returns the maximum length of a formatted input line, where
|
||||||
.I filedes
|
.I fd
|
||||||
or
|
or
|
||||||
.I path
|
.I path
|
||||||
must refer to a terminal.
|
must refer to a terminal.
|
||||||
|
@ -80,7 +80,7 @@ The corresponding macro is
|
||||||
.TP
|
.TP
|
||||||
.B _PC_MAX_INPUT
|
.B _PC_MAX_INPUT
|
||||||
returns the maximum length of an input line, where
|
returns the maximum length of an input line, where
|
||||||
.I filedes
|
.I fd
|
||||||
or
|
or
|
||||||
.I path
|
.I path
|
||||||
must refer to a terminal.
|
must refer to a terminal.
|
||||||
|
@ -91,7 +91,7 @@ The corresponding macro is
|
||||||
returns the maximum length of a filename in the directory
|
returns the maximum length of a filename in the directory
|
||||||
.I path
|
.I path
|
||||||
or
|
or
|
||||||
.IR filedes .
|
.IR fd .
|
||||||
the process is allowed to create.
|
the process is allowed to create.
|
||||||
The corresponding macro is
|
The corresponding macro is
|
||||||
.BR _POSIX_NAME_MAX .
|
.BR _POSIX_NAME_MAX .
|
||||||
|
@ -100,14 +100,14 @@ The corresponding macro is
|
||||||
returns the maximum length of a relative pathname when
|
returns the maximum length of a relative pathname when
|
||||||
.I path
|
.I path
|
||||||
or
|
or
|
||||||
.I filedes
|
.I fd
|
||||||
is the current working directory.
|
is the current working directory.
|
||||||
The corresponding macro is
|
The corresponding macro is
|
||||||
.BR _POSIX_PATH_MAX .
|
.BR _POSIX_PATH_MAX .
|
||||||
.TP
|
.TP
|
||||||
.B _PC_PIPE_BUF
|
.B _PC_PIPE_BUF
|
||||||
returns the size of the pipe buffer, where
|
returns the size of the pipe buffer, where
|
||||||
.I filedes
|
.I fd
|
||||||
must refer to a pipe or FIFO and
|
must refer to a pipe or FIFO and
|
||||||
.I path
|
.I path
|
||||||
must refer to a FIFO.
|
must refer to a FIFO.
|
||||||
|
@ -119,7 +119,7 @@ returns non-zero if the
|
||||||
.BR chown (2)
|
.BR chown (2)
|
||||||
call may not be used on this file.
|
call may not be used on this file.
|
||||||
If
|
If
|
||||||
.I filedes
|
.I fd
|
||||||
or
|
or
|
||||||
.I path
|
.I path
|
||||||
refer to a directory, then this applies to all files in that
|
refer to a directory, then this applies to all files in that
|
||||||
|
@ -136,7 +136,7 @@ The corresponding macro is
|
||||||
.TP
|
.TP
|
||||||
.B _PC_VDISABLE
|
.B _PC_VDISABLE
|
||||||
returns non-zero if special character processing can be disabled, where
|
returns non-zero if special character processing can be disabled, where
|
||||||
.I filedes
|
.I fd
|
||||||
or
|
or
|
||||||
.I path
|
.I path
|
||||||
must refer to a terminal.
|
must refer to a terminal.
|
||||||
|
|
Loading…
Reference in New Issue