statx.2: wfix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2017-04-23 12:05:25 +02:00
parent 7a192d0df6
commit c8701bafb9
1 changed files with 13 additions and 10 deletions

View File

@ -51,7 +51,7 @@ see NOTES.
This function returns information about a file, storing it in the buffer
pointed to by
.IR buf .
The buffer is filled in according to the following type:
The returned buffer is a structure of the following type:
.PP
.in +4n
.nf
@ -116,7 +116,7 @@ uses
.IR dirfd ,
and
.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
[*] By absolute pathname.
.I pathname
@ -138,7 +138,7 @@ The file is looked up by name, starting from the current working directory.
.I pathname
points to relative pathname and
.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
.IR dirfd .
.TP
@ -146,16 +146,16 @@ The file is looked up by name, starting from the directory specified by
.IR pathname
is NULL and
.I dirfd
indicates a file descriptor.
is a file descriptor.
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.
.PP
.I flags
can be used to influence a pathname-based lookup.
A value for
.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
.BR AT_EMPTY_PATH
.\" commit 65cfc6722361570bfe255698d9cd4dccaf47570d
@ -206,7 +206,7 @@ instead return information about the link itself, like
.I flags
can also be used to control what sort of synchronization the kernel will do
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
.B AT_STATX_SYNC_AS_STAT
Do whatever
@ -232,7 +232,7 @@ argument to
.BR statx ()
is used to tell the kernel which fields the caller is interested in.
.I mask
is an OR'ed combination of the following constants:
is an ORed combination of the following constants:
.PP
.in +4n
.TS
@ -387,7 +387,7 @@ For further information on the above fields, see
.PP
The
.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:
.TP
.B STATX_ATTR_COMPRESSED
@ -452,7 +452,10 @@ A component of
.I pathname
does not exist, or
.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
.B ENOMEM
Out of memory (i.e., kernel memory).