mirror of https://github.com/mkerrisk/man-pages
statx.2: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
7a192d0df6
commit
c8701bafb9
23
man2/statx.2
23
man2/statx.2
|
@ -51,7 +51,7 @@ see NOTES.
|
||||||
This function returns information about a file, storing it in the buffer
|
This function returns information about a file, storing it in the buffer
|
||||||
pointed to by
|
pointed to by
|
||||||
.IR buf .
|
.IR buf .
|
||||||
The buffer is filled in according to the following type:
|
The returned buffer is a structure of the following type:
|
||||||
.PP
|
.PP
|
||||||
.in +4n
|
.in +4n
|
||||||
.nf
|
.nf
|
||||||
|
@ -116,7 +116,7 @@ uses
|
||||||
.IR dirfd ,
|
.IR dirfd ,
|
||||||
and
|
and
|
||||||
.IR flags
|
.IR flags
|
||||||
to locate the target file in one of a variety of ways:
|
identify the target file in one of the following ways:
|
||||||
.TP
|
.TP
|
||||||
[*] By absolute pathname.
|
[*] By absolute pathname.
|
||||||
.I pathname
|
.I pathname
|
||||||
|
@ -138,7 +138,7 @@ The file is looked up by name, starting from the current working directory.
|
||||||
.I pathname
|
.I pathname
|
||||||
points to relative pathname and
|
points to relative pathname and
|
||||||
.I dirfd
|
.I dirfd
|
||||||
indicates a file descriptor pointing to a directory.
|
is a file descriptor referring to a directory.
|
||||||
The file is looked up by name, starting from the directory specified by
|
The file is looked up by name, starting from the directory specified by
|
||||||
.IR dirfd .
|
.IR dirfd .
|
||||||
.TP
|
.TP
|
||||||
|
@ -146,16 +146,16 @@ The file is looked up by name, starting from the directory specified by
|
||||||
.IR pathname
|
.IR pathname
|
||||||
is NULL and
|
is NULL and
|
||||||
.I dirfd
|
.I dirfd
|
||||||
indicates a file descriptor.
|
is a file descriptor.
|
||||||
The file attached to the file descriptor is queried directly.
|
The file attached to the file descriptor is queried directly.
|
||||||
The file descriptor may point to any type of file, not just
|
The file descriptor may refer to any type of file, not just
|
||||||
a directory.
|
a directory.
|
||||||
.PP
|
.PP
|
||||||
.I flags
|
.I flags
|
||||||
can be used to influence a pathname-based lookup.
|
can be used to influence a pathname-based lookup.
|
||||||
A value for
|
A value for
|
||||||
.I flags
|
.I flags
|
||||||
is constructed by OR'ing together zero or more of the following constants:
|
is constructed by ORing together zero or more of the following constants:
|
||||||
.TP
|
.TP
|
||||||
.BR AT_EMPTY_PATH
|
.BR AT_EMPTY_PATH
|
||||||
.\" commit 65cfc6722361570bfe255698d9cd4dccaf47570d
|
.\" commit 65cfc6722361570bfe255698d9cd4dccaf47570d
|
||||||
|
@ -206,7 +206,7 @@ instead return information about the link itself, like
|
||||||
.I flags
|
.I flags
|
||||||
can also be used to control what sort of synchronization the kernel will do
|
can also be used to control what sort of synchronization the kernel will do
|
||||||
when querying a file on a remote filesystem.
|
when querying a file on a remote filesystem.
|
||||||
This is done by OR'ing in one of the following values:
|
This is done by ORing in one of the following values:
|
||||||
.TP
|
.TP
|
||||||
.B AT_STATX_SYNC_AS_STAT
|
.B AT_STATX_SYNC_AS_STAT
|
||||||
Do whatever
|
Do whatever
|
||||||
|
@ -232,7 +232,7 @@ argument to
|
||||||
.BR statx ()
|
.BR statx ()
|
||||||
is used to tell the kernel which fields the caller is interested in.
|
is used to tell the kernel which fields the caller is interested in.
|
||||||
.I mask
|
.I mask
|
||||||
is an OR'ed combination of the following constants:
|
is an ORed combination of the following constants:
|
||||||
.PP
|
.PP
|
||||||
.in +4n
|
.in +4n
|
||||||
.TS
|
.TS
|
||||||
|
@ -387,7 +387,7 @@ For further information on the above fields, see
|
||||||
.PP
|
.PP
|
||||||
The
|
The
|
||||||
.I stx_attributes
|
.I stx_attributes
|
||||||
field contains a set of OR'ed flags that indicate additional attributes
|
field contains a set of ORed flags that indicate additional attributes
|
||||||
of the file:
|
of the file:
|
||||||
.TP
|
.TP
|
||||||
.B STATX_ATTR_COMPRESSED
|
.B STATX_ATTR_COMPRESSED
|
||||||
|
@ -452,7 +452,10 @@ A component of
|
||||||
.I pathname
|
.I pathname
|
||||||
does not exist, or
|
does not exist, or
|
||||||
.I pathname
|
.I pathname
|
||||||
is an empty string and AT_EMPTY_PATH was not specified.
|
is an empty string and
|
||||||
|
.B AT_EMPTY_PATH
|
||||||
|
was not specified in
|
||||||
|
.IR flags .
|
||||||
.TP
|
.TP
|
||||||
.B ENOMEM
|
.B ENOMEM
|
||||||
Out of memory (i.e., kernel memory).
|
Out of memory (i.e., kernel memory).
|
||||||
|
|
Loading…
Reference in New Issue