762 lines
20 KiB
HTML
762 lines
20 KiB
HTML
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
<HTML><HEAD><TITLE>Man page of STATX</TITLE>
|
|
</HEAD><BODY>
|
|
<H1>STATX</H1>
|
|
Section: Linux Programmer's Manual (2)<BR>Updated: 2019-10-10<BR><A HREF="#index">Index</A>
|
|
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
|
|
|
|
<A NAME="lbAB"> </A>
|
|
<H2>NAME</H2>
|
|
|
|
statx - get file status (extended)
|
|
<A NAME="lbAC"> </A>
|
|
<H2>SYNOPSIS</H2>
|
|
|
|
<PRE>
|
|
<B>#include <<A HREF="file:///usr/include/sys/types.h">sys/types.h</A>></B>
|
|
<B>#include <<A HREF="file:///usr/include/sys/stat.h">sys/stat.h</A>></B>
|
|
<B>#include <<A HREF="file:///usr/include/unistd.h">unistd.h</A>></B>
|
|
<B>#include <<A HREF="file:///usr/include/fcntl.h">fcntl.h</A>> </B>/* Definition of AT_* constants */
|
|
|
|
<B>int statx(int </B><I>dirfd</I><B>, const char *</B><I>pathname</I><B>, int </B><I>flags</I><B>,</B>
|
|
<B> unsigned int </B><I>mask</I><B>, struct statx *</B><I>statxbuf</I><B>);</B>
|
|
</PRE>
|
|
|
|
<P>
|
|
|
|
<A NAME="lbAD"> </A>
|
|
<H2>DESCRIPTION</H2>
|
|
|
|
<P>
|
|
|
|
This function returns information about a file, storing it in the buffer
|
|
pointed to by
|
|
<I>statxbuf</I>.
|
|
|
|
The returned buffer is a structure of the following type:
|
|
<P>
|
|
|
|
|
|
|
|
struct statx {
|
|
<BR> __u32 stx_mask; /* Mask of bits indicating
|
|
<BR> filled fields */
|
|
<BR> __u32 stx_blksize; /* Block size for filesystem I/O */
|
|
<BR> __u64 stx_attributes; /* Extra file attribute indicators */
|
|
<BR> __u32 stx_nlink; /* Number of hard links */
|
|
<BR> __u32 stx_uid; /* User ID of owner */
|
|
<BR> __u32 stx_gid; /* Group ID of owner */
|
|
<BR> __u16 stx_mode; /* File type and mode */
|
|
<BR> __u64 stx_ino; /* Inode number */
|
|
<BR> __u64 stx_size; /* Total size in bytes */
|
|
<BR> __u64 stx_blocks; /* Number of 512B blocks allocated */
|
|
<BR> __u64 stx_attributes_mask;
|
|
<BR> /* Mask to show what's supported
|
|
<BR> in stx_attributes */
|
|
<P>
|
|
<BR> /* The following fields are file timestamps */
|
|
<BR> struct statx_timestamp stx_atime; /* Last access */
|
|
<BR> struct statx_timestamp stx_btime; /* Creation */
|
|
<BR> struct statx_timestamp stx_ctime; /* Last status change */
|
|
<BR> struct statx_timestamp stx_mtime; /* Last modification */
|
|
<P>
|
|
<BR> /* If this file represents a device, then the next two
|
|
<BR> fields contain the ID of the device */
|
|
<BR> __u32 stx_rdev_major; /* Major ID */
|
|
<BR> __u32 stx_rdev_minor; /* Minor ID */
|
|
<P>
|
|
<BR> /* The next two fields contain the ID of the device
|
|
<BR> containing the filesystem where the file resides */
|
|
<BR> __u32 stx_dev_major; /* Major ID */
|
|
<BR> __u32 stx_dev_minor; /* Minor ID */
|
|
};
|
|
|
|
|
|
<P>
|
|
|
|
The file timestamps are structures of the following type:
|
|
<P>
|
|
|
|
|
|
|
|
struct statx_timestamp {
|
|
<BR> __s64 tv_sec; /* Seconds since the Epoch (UNIX time) */
|
|
<BR> __u32 tv_nsec; /* Nanoseconds since tv_sec */
|
|
};
|
|
|
|
|
|
<P>
|
|
|
|
(Note that reserved space and padding is omitted.)
|
|
<A NAME="lbAE"> </A>
|
|
<H3>Invoking <B>statx</B>():</H3>
|
|
|
|
<P>
|
|
|
|
To access a file's status, no permissions are required on the file itself,
|
|
but in the case of
|
|
<B>statx</B>()
|
|
|
|
with a pathname,
|
|
execute (search) permission is required on all of the directories in
|
|
<I>pathname</I>
|
|
|
|
that lead to the file.
|
|
<P>
|
|
|
|
<B>statx</B>()
|
|
|
|
uses
|
|
<I>pathname</I>,
|
|
|
|
<I>dirfd</I>,
|
|
|
|
and
|
|
<I>flags</I>
|
|
|
|
to identify the target file in one of the following ways:
|
|
<DL COMPACT>
|
|
<DT id="1">An absolute pathname<DD>
|
|
If
|
|
<I>pathname</I>
|
|
|
|
begins with a slash,
|
|
then it is an absolute pathname that identifies the target file.
|
|
In this case,
|
|
<I>dirfd</I>
|
|
|
|
is ignored.
|
|
<DT id="2">A relative pathname<DD>
|
|
If
|
|
<I>pathname</I>
|
|
|
|
is a string that begins with a character other than a slash and
|
|
<I>dirfd</I>
|
|
|
|
is
|
|
<B>AT_FDCWD</B>,
|
|
|
|
then
|
|
<I>pathname</I>
|
|
|
|
is a relative pathname that is interpreted relative to the process's
|
|
current working directory.
|
|
<DT id="3">A directory-relative pathname<DD>
|
|
If
|
|
<I>pathname</I>
|
|
|
|
is a string that begins with a character other than a slash and
|
|
<I>dirfd</I>
|
|
|
|
is a file descriptor that refers to a directory, then
|
|
<I>pathname</I>
|
|
|
|
is a relative pathname that is interpreted relative to the directory
|
|
referred to by
|
|
<I>dirfd</I>.
|
|
|
|
<DT id="4">By file descriptor<DD>
|
|
If
|
|
<I>pathname</I>
|
|
|
|
is an empty string and the
|
|
<B>AT_EMPTY_PATH</B>
|
|
|
|
flag is specified in
|
|
<I>flags</I>
|
|
|
|
(see below),
|
|
then the target file is the one referred to by the file descriptor
|
|
<I>dirfd</I>.
|
|
|
|
</DL>
|
|
<P>
|
|
|
|
<I>flags</I>
|
|
|
|
can be used to influence a pathname-based lookup.
|
|
A value for
|
|
<I>flags</I>
|
|
|
|
is constructed by ORing together zero or more of the following constants:
|
|
<DL COMPACT>
|
|
<DT id="5"><B>AT_EMPTY_PATH</B>
|
|
|
|
<DD>
|
|
|
|
If
|
|
<I>pathname</I>
|
|
|
|
is an empty string, operate on the file referred to by
|
|
<I>dirfd</I>
|
|
|
|
(which may have been obtained using the
|
|
<B><A HREF="/cgi-bin/man/man2html?2+open">open</A></B>(2)
|
|
|
|
<B>O_PATH</B>
|
|
|
|
flag).
|
|
In this case,
|
|
<I>dirfd</I>
|
|
|
|
can refer to any type of file, not just a directory.
|
|
<DT id="6"><DD>
|
|
If
|
|
<I>dirfd</I>
|
|
|
|
is
|
|
<B>AT_FDCWD</B>,
|
|
|
|
the call operates on the current working directory.
|
|
<DT id="7"><DD>
|
|
This flag is Linux-specific; define
|
|
<B>_GNU_SOURCE</B>
|
|
|
|
|
|
to obtain its definition.
|
|
<DT id="8"><B>AT_NO_AUTOMOUNT</B>
|
|
|
|
<DD>
|
|
Don't automount the terminal ("basename") component of
|
|
<I>pathname</I>
|
|
|
|
if it is a directory that is an automount point.
|
|
This allows the caller to gather attributes of an automount point
|
|
(rather than the location it would mount).
|
|
This flag can be used in tools that scan directories
|
|
to prevent mass-automounting of a directory of automount points.
|
|
The
|
|
<B>AT_NO_AUTOMOUNT</B>
|
|
|
|
flag has no effect if the mount point has already been mounted over.
|
|
This flag is Linux-specific; define
|
|
<B>_GNU_SOURCE</B>
|
|
|
|
|
|
to obtain its definition.
|
|
<DT id="9"><B>AT_SYMLINK_NOFOLLOW</B>
|
|
|
|
<DD>
|
|
If
|
|
<I>pathname</I>
|
|
|
|
is a symbolic link, do not dereference it:
|
|
instead return information about the link itself, like
|
|
<B><A HREF="/cgi-bin/man/man2html?2+lstat">lstat</A></B>(2).
|
|
|
|
</DL>
|
|
<P>
|
|
|
|
<I>flags</I>
|
|
|
|
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 ORing in one of the following values:
|
|
<DL COMPACT>
|
|
<DT id="10"><B>AT_STATX_SYNC_AS_STAT</B>
|
|
|
|
<DD>
|
|
Do whatever
|
|
<B><A HREF="/cgi-bin/man/man2html?2+stat">stat</A></B>(2)
|
|
|
|
does.
|
|
This is the default and is very much filesystem-specific.
|
|
<DT id="11"><B>AT_STATX_FORCE_SYNC</B>
|
|
|
|
<DD>
|
|
Force the attributes to be synchronized with the server.
|
|
This may require that
|
|
a network filesystem perform a data writeback to get the timestamps correct.
|
|
<DT id="12"><B>AT_STATX_DONT_SYNC</B>
|
|
|
|
<DD>
|
|
Don't synchronize anything, but rather just take whatever
|
|
the system has cached if possible.
|
|
This may mean that the information returned is approximate, but,
|
|
on a network filesystem, it may not involve a round trip to the server - even
|
|
if no lease is held.
|
|
</DL>
|
|
<P>
|
|
|
|
The
|
|
<I>mask</I>
|
|
|
|
argument to
|
|
<B>statx</B>()
|
|
|
|
is used to tell the kernel which fields the caller is interested in.
|
|
<I>mask</I>
|
|
|
|
is an ORed combination of the following constants:
|
|
<P>
|
|
|
|
|
|
<TABLE>
|
|
<TR VALIGN=top><TD><B>STATX_TYPE</B></TD><TD>Want stx_mode & S_IFMT<BR></TD></TR>
|
|
<TR VALIGN=top><TD><B>STATX_MODE</B></TD><TD>Want stx_mode & ~S_IFMT<BR></TD></TR>
|
|
<TR VALIGN=top><TD><B>STATX_NLINK</B></TD><TD>Want stx_nlink<BR></TD></TR>
|
|
<TR VALIGN=top><TD><B>STATX_UID</B></TD><TD>Want stx_uid<BR></TD></TR>
|
|
<TR VALIGN=top><TD><B>STATX_GID</B></TD><TD>Want stx_gid<BR></TD></TR>
|
|
<TR VALIGN=top><TD><B>STATX_ATIME</B></TD><TD>Want stx_atime<BR></TD></TR>
|
|
<TR VALIGN=top><TD><B>STATX_MTIME</B></TD><TD>Want stx_mtime<BR></TD></TR>
|
|
<TR VALIGN=top><TD><B>STATX_CTIME</B></TD><TD>Want stx_ctime<BR></TD></TR>
|
|
<TR VALIGN=top><TD><B>STATX_INO</B></TD><TD>Want stx_ino<BR></TD></TR>
|
|
<TR VALIGN=top><TD><B>STATX_SIZE</B></TD><TD>Want stx_size<BR></TD></TR>
|
|
<TR VALIGN=top><TD><B>STATX_BLOCKS</B></TD><TD>Want stx_blocks<BR></TD></TR>
|
|
<TR VALIGN=top><TD><B>STATX_BASIC_STATS</B></TD><TD>[All of the above]<BR></TD></TR>
|
|
<TR VALIGN=top><TD><B>STATX_BTIME</B></TD><TD>Want stx_btime<BR></TD></TR>
|
|
<TR VALIGN=top><TD><B>STATX_ALL</B></TD><TD>[All currently available fields]<BR></TD></TR>
|
|
</TABLE>
|
|
|
|
|
|
<P>
|
|
|
|
Note that, in general, the kernel does
|
|
<I>not</I>
|
|
|
|
reject values in
|
|
<I>mask</I>
|
|
|
|
other than the above.
|
|
(For an exception, see
|
|
<B>EINVAL</B>
|
|
|
|
in errors.)
|
|
Instead, it simply informs the caller which values are supported
|
|
by this kernel and filesystem via the
|
|
<I>statx.stx_mask</I>
|
|
|
|
field.
|
|
Therefore,
|
|
<I>do not</I>
|
|
|
|
simply set
|
|
<I>mask</I>
|
|
|
|
to
|
|
<B>UINT_MAX</B>
|
|
|
|
(all bits set),
|
|
as one or more bits may, in the future, be used to specify an
|
|
extension to the buffer.
|
|
<A NAME="lbAF"> </A>
|
|
<H3>The returned information</H3>
|
|
|
|
<P>
|
|
|
|
The status information for the target file is returned in the
|
|
<I>statx</I>
|
|
|
|
structure pointed to by
|
|
<I>statxbuf</I>.
|
|
|
|
Included in this is
|
|
<I>stx_mask</I>
|
|
|
|
which indicates what other information has been returned.
|
|
<I>stx_mask</I>
|
|
|
|
has the same format as the
|
|
<I>mask</I>
|
|
|
|
argument and bits are set in it to indicate
|
|
which fields have been filled in.
|
|
<P>
|
|
|
|
It should be noted that the kernel may return fields that weren't
|
|
requested and may fail to return fields that were requested,
|
|
depending on what the backing filesystem supports.
|
|
(Fields that are given values despite being unrequested can just be ignored.)
|
|
In either case,
|
|
<I>stx_mask</I>
|
|
|
|
will not be equal
|
|
<I>mask</I>.
|
|
|
|
<P>
|
|
|
|
If a filesystem does not support a field or if it has
|
|
an unrepresentable value (for instance, a file with an exotic type),
|
|
then the mask bit corresponding to that field will be cleared in
|
|
<I>stx_mask</I>
|
|
|
|
even if the user asked for it and a dummy value will be filled in for
|
|
compatibility purposes if one is available (e.g., a dummy UID and GID may be
|
|
specified to mount under some circumstances).
|
|
<P>
|
|
|
|
A filesystem may also fill in fields that the caller didn't ask for if it has
|
|
values for them available and the information is available at no extra cost.
|
|
If this happens, the corresponding bits will be set in
|
|
<I>stx_mask</I>.
|
|
|
|
<P>
|
|
|
|
|
|
|
|
<I>Note</I>:
|
|
|
|
for performance and simplicity reasons, different fields in the
|
|
<I>statx</I>
|
|
|
|
structure may contain state information from different moments
|
|
during the execution of the system call.
|
|
For example, if
|
|
<I>stx_mode</I>
|
|
|
|
or
|
|
<I>stx_uid</I>
|
|
|
|
is changed by another process by calling
|
|
<B><A HREF="/cgi-bin/man/man2html?2+chmod">chmod</A></B>(2)
|
|
|
|
or
|
|
<B><A HREF="/cgi-bin/man/man2html?2+chown">chown</A></B>(2),
|
|
|
|
<B>stat</B>()
|
|
|
|
might return the old
|
|
<I>stx_mode</I>
|
|
|
|
together with the new
|
|
<I>stx_uid</I>,
|
|
|
|
or the old
|
|
<I>stx_uid</I>
|
|
|
|
together with the new
|
|
<I>stx_mode</I>.
|
|
|
|
<P>
|
|
|
|
Apart from
|
|
<I>stx_mask</I>
|
|
|
|
(which is described above), the fields in the
|
|
<I>statx</I>
|
|
|
|
structure are:
|
|
<DL COMPACT>
|
|
<DT id="13"><I>stx_blksize</I>
|
|
|
|
<DD>
|
|
The "preferred" block size for efficient filesystem I/O.
|
|
(Writing to a file in
|
|
smaller chunks may cause an inefficient read-modify-rewrite.)
|
|
<DT id="14"><I>stx_attributes</I>
|
|
|
|
<DD>
|
|
Further status information about the file (see below for more information).
|
|
<DT id="15"><I>stx_nlink</I>
|
|
|
|
<DD>
|
|
The number of hard links on a file.
|
|
<DT id="16"><I>stx_uid</I>
|
|
|
|
<DD>
|
|
This field contains the user ID of the owner of the file.
|
|
<DT id="17"><I>stx_gid</I>
|
|
|
|
<DD>
|
|
This field contains the ID of the group owner of the file.
|
|
<DT id="18"><I>stx_mode</I>
|
|
|
|
<DD>
|
|
The file type and mode.
|
|
See
|
|
<B><A HREF="/cgi-bin/man/man2html?7+inode">inode</A></B>(7)
|
|
|
|
for details.
|
|
<DT id="19"><I>stx_ino</I>
|
|
|
|
<DD>
|
|
The inode number of the file.
|
|
<DT id="20"><I>stx_size</I>
|
|
|
|
<DD>
|
|
The size of the file (if it is a regular file or a symbolic link) in bytes.
|
|
The size of a symbolic link is the length of the pathname it contains,
|
|
without a terminating null byte.
|
|
<DT id="21"><I>stx_blocks</I>
|
|
|
|
<DD>
|
|
The number of blocks allocated to the file on the medium, in 512-byte units.
|
|
(This may be smaller than
|
|
<I>stx_size</I>/512
|
|
|
|
when the file has holes.)
|
|
<DT id="22"><I>stx_attributes_mask</I>
|
|
|
|
<DD>
|
|
A mask indicating which bits in
|
|
<I>stx_attributes</I>
|
|
|
|
are supported by the VFS and the filesystem.
|
|
<DT id="23"><I>stx_atime</I>
|
|
|
|
<DD>
|
|
The file's last access timestamp.
|
|
<DT id="24"><I>stx_btime</I>
|
|
|
|
<DD>
|
|
The file's creation timestamp.
|
|
<DT id="25"><I>stx_ctime</I>
|
|
|
|
<DD>
|
|
The file's last status change timestamp.
|
|
<DT id="26"><I>stx_mtime</I>
|
|
|
|
<DD>
|
|
The file's last modification timestamp.
|
|
<DT id="27"><I>stx_dev_major</I> and <I>stx_dev_minor</I>
|
|
|
|
<DD>
|
|
The device on which this file (inode) resides.
|
|
<DT id="28"><I>stx_rdev_major</I> and <I>stx_rdev_minor</I>
|
|
|
|
<DD>
|
|
The device that this file (inode) represents if the file is of block or
|
|
character device type.
|
|
</DL>
|
|
<P>
|
|
|
|
For further information on the above fields, see
|
|
<B><A HREF="/cgi-bin/man/man2html?7+inode">inode</A></B>(7).
|
|
|
|
|
|
<A NAME="lbAG"> </A>
|
|
<H3>File attributes</H3>
|
|
|
|
<P>
|
|
|
|
The
|
|
<I>stx_attributes</I>
|
|
|
|
field contains a set of ORed flags that indicate additional attributes
|
|
of the file.
|
|
Note that any attribute that is not indicated as supported by
|
|
<I>stx_attributes_mask</I>
|
|
|
|
has no usable value here.
|
|
The bits in
|
|
<I>stx_attributes_mask</I>
|
|
|
|
correspond bit-by-bit to
|
|
<I>stx_attributes</I>.
|
|
|
|
<P>
|
|
|
|
The flags are as follows:
|
|
<DL COMPACT>
|
|
<DT id="29"><B>STATX_ATTR_COMPRESSED</B>
|
|
|
|
<DD>
|
|
The file is compressed by the filesystem and may take extra resources
|
|
to access.
|
|
<DT id="30"><B>STATX_ATTR_IMMUTABLE</B>
|
|
|
|
<DD>
|
|
The file cannot be modified: it cannot be deleted or renamed,
|
|
no hard links can be created to this file and no data can be written to it.
|
|
See
|
|
<B><A HREF="/cgi-bin/man/man2html?1+chattr">chattr</A></B>(1).
|
|
|
|
<DT id="31"><B>STATX_ATTR_APPEND</B>
|
|
|
|
<DD>
|
|
The file can only be opened in append mode for writing.
|
|
Random access writing
|
|
is not permitted.
|
|
See
|
|
<B><A HREF="/cgi-bin/man/man2html?1+chattr">chattr</A></B>(1).
|
|
|
|
<DT id="32"><B>STATX_ATTR_NODUMP</B>
|
|
|
|
<DD>
|
|
File is not a candidate for backup when a backup program such as
|
|
<B><A HREF="/cgi-bin/man/man2html?8+dump">dump</A></B>(8)
|
|
|
|
is run.
|
|
See
|
|
<B><A HREF="/cgi-bin/man/man2html?1+chattr">chattr</A></B>(1).
|
|
|
|
<DT id="33"><B>STATX_ATTR_ENCRYPTED</B>
|
|
|
|
<DD>
|
|
A key is required for the file to be encrypted by the filesystem.
|
|
</DL>
|
|
<A NAME="lbAH"> </A>
|
|
<H2>RETURN VALUE</H2>
|
|
|
|
On success, zero is returned.
|
|
On error, -1 is returned, and
|
|
<I>errno</I>
|
|
|
|
is set appropriately.
|
|
<A NAME="lbAI"> </A>
|
|
<H2>ERRORS</H2>
|
|
|
|
<DL COMPACT>
|
|
<DT id="34"><B>EACCES</B>
|
|
|
|
<DD>
|
|
Search permission is denied for one of the directories
|
|
in the path prefix of
|
|
<I>pathname</I>.
|
|
|
|
(See also
|
|
<B><A HREF="/cgi-bin/man/man2html?7+path_resolution">path_resolution</A></B>(7).)
|
|
|
|
<DT id="35"><B>EBADF</B>
|
|
|
|
<DD>
|
|
<I>dirfd</I>
|
|
|
|
is not a valid open file descriptor.
|
|
<DT id="36"><B>EFAULT</B>
|
|
|
|
<DD>
|
|
<I>pathname</I>
|
|
|
|
or
|
|
<I>statxbuf</I>
|
|
|
|
is NULL or points to a location outside the process's
|
|
accessible address space.
|
|
<DT id="37"><B>EINVAL</B>
|
|
|
|
<DD>
|
|
Invalid flag specified in
|
|
<I>flags</I>.
|
|
|
|
<DT id="38"><B>EINVAL</B>
|
|
|
|
<DD>
|
|
Reserved flag specified in
|
|
<I>mask</I>.
|
|
|
|
(Currently, there is one such flag, designated by the constant
|
|
<B>STATX__RESERVED</B>,
|
|
|
|
with the value 0x80000000U.)
|
|
<DT id="39"><B>ELOOP</B>
|
|
|
|
<DD>
|
|
Too many symbolic links encountered while traversing the pathname.
|
|
<DT id="40"><B>ENAMETOOLONG</B>
|
|
|
|
<DD>
|
|
<I>pathname</I>
|
|
|
|
is too long.
|
|
<DT id="41"><B>ENOENT</B>
|
|
|
|
<DD>
|
|
A component of
|
|
<I>pathname</I>
|
|
|
|
does not exist, or
|
|
<I>pathname</I>
|
|
|
|
is an empty string and
|
|
<B>AT_EMPTY_PATH</B>
|
|
|
|
was not specified in
|
|
<I>flags</I>.
|
|
|
|
<DT id="42"><B>ENOMEM</B>
|
|
|
|
<DD>
|
|
Out of memory (i.e., kernel memory).
|
|
<DT id="43"><B>ENOTDIR</B>
|
|
|
|
<DD>
|
|
A component of the path prefix of
|
|
<I>pathname</I>
|
|
|
|
is not a directory or
|
|
<I>pathname</I>
|
|
|
|
is relative and
|
|
<I>dirfd</I>
|
|
|
|
is a file descriptor referring to a file other than a directory.
|
|
</DL>
|
|
<A NAME="lbAJ"> </A>
|
|
<H2>VERSIONS</H2>
|
|
|
|
<B>statx</B>()
|
|
|
|
was added to Linux in kernel 4.11; library support was added in glibc 2.28.
|
|
<A NAME="lbAK"> </A>
|
|
<H2>CONFORMING TO</H2>
|
|
|
|
<B>statx</B>()
|
|
|
|
is Linux-specific.
|
|
<A NAME="lbAL"> </A>
|
|
<H2>SEE ALSO</H2>
|
|
|
|
<B><A HREF="/cgi-bin/man/man2html?1+ls">ls</A></B>(1),
|
|
|
|
<B><A HREF="/cgi-bin/man/man2html?1+stat">stat</A></B>(1),
|
|
|
|
<B><A HREF="/cgi-bin/man/man2html?2+access">access</A></B>(2),
|
|
|
|
<B><A HREF="/cgi-bin/man/man2html?2+chmod">chmod</A></B>(2),
|
|
|
|
<B><A HREF="/cgi-bin/man/man2html?2+chown">chown</A></B>(2),
|
|
|
|
<B><A HREF="/cgi-bin/man/man2html?2+readlink">readlink</A></B>(2),
|
|
|
|
<B><A HREF="/cgi-bin/man/man2html?2+stat">stat</A></B>(2),
|
|
|
|
<B><A HREF="/cgi-bin/man/man2html?2+utime">utime</A></B>(2),
|
|
|
|
<B><A HREF="/cgi-bin/man/man2html?7+capabilities">capabilities</A></B>(7),
|
|
|
|
<B><A HREF="/cgi-bin/man/man2html?7+inode">inode</A></B>(7),
|
|
|
|
<B><A HREF="/cgi-bin/man/man2html?7+symlink">symlink</A></B>(7)
|
|
|
|
<A NAME="lbAM"> </A>
|
|
<H2>COLOPHON</H2>
|
|
|
|
This page is part of release 5.05 of the Linux
|
|
<I>man-pages</I>
|
|
|
|
project.
|
|
A description of the project,
|
|
information about reporting bugs,
|
|
and the latest version of this page,
|
|
can be found at
|
|
<A HREF="https://www.kernel.org/doc/man-pages/.">https://www.kernel.org/doc/man-pages/.</A>
|
|
<P>
|
|
|
|
<HR>
|
|
<A NAME="index"> </A><H2>Index</H2>
|
|
<DL>
|
|
<DT id="44"><A HREF="#lbAB">NAME</A><DD>
|
|
<DT id="45"><A HREF="#lbAC">SYNOPSIS</A><DD>
|
|
<DT id="46"><A HREF="#lbAD">DESCRIPTION</A><DD>
|
|
<DL>
|
|
<DT id="47"><A HREF="#lbAE">Invoking <B>statx</B>():</A><DD>
|
|
<DT id="48"><A HREF="#lbAF">The returned information</A><DD>
|
|
<DT id="49"><A HREF="#lbAG">File attributes</A><DD>
|
|
</DL>
|
|
<DT id="50"><A HREF="#lbAH">RETURN VALUE</A><DD>
|
|
<DT id="51"><A HREF="#lbAI">ERRORS</A><DD>
|
|
<DT id="52"><A HREF="#lbAJ">VERSIONS</A><DD>
|
|
<DT id="53"><A HREF="#lbAK">CONFORMING TO</A><DD>
|
|
<DT id="54"><A HREF="#lbAL">SEE ALSO</A><DD>
|
|
<DT id="55"><A HREF="#lbAM">COLOPHON</A><DD>
|
|
</DL>
|
|
<HR>
|
|
This document was created by
|
|
<A HREF="/cgi-bin/man/man2html">man2html</A>,
|
|
using the manual pages.<BR>
|
|
Time: 00:05:34 GMT, March 31, 2021
|
|
</BODY>
|
|
</HTML>
|