Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 20 additions & 17 deletions Doc/library/os.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3413,11 +3413,6 @@ features:

:class:`!statx_result` has the following attributes:

.. attribute:: stx_mask

Bitmask of :const:`STATX_* <STATX_TYPE>` constants specifying the
information retrieved, which may differ from what was requested.

.. attribute:: stx_atime

Time of most recent access expressed in seconds.
Expand All @@ -3442,35 +3437,35 @@ features:
.. availability:: Linux >= 4.11 with glibc >= 2.28 and build-time kernel
userspace API headers >= 6.11.

.. attribute:: stx_atomic_write_unit_min
.. attribute:: stx_atomic_write_unit_max

Minimum size for direct I/O with torn-write protection.
Maximum size for direct I/O with torn-write protection.

Equal to ``None`` if :data:`STATX_WRITE_ATOMIC` is missing from
:attr:`~statx_result.stx_mask`.

.. availability:: Linux >= 4.11 with glibc >= 2.28 and build-time kernel
userspace API headers >= 6.11.

.. attribute:: stx_atomic_write_unit_max
.. attribute:: stx_atomic_write_unit_max_opt

Maximum size for direct I/O with torn-write protection.
Maximum optimized size for direct I/O with torn-write protection.

Equal to ``None`` if :data:`STATX_WRITE_ATOMIC` is missing from
:attr:`~statx_result.stx_mask`.

.. availability:: Linux >= 4.11 with glibc >= 2.28 and build-time kernel
userspace API headers >= 6.11.
userspace API headers >= 6.16.

.. attribute:: stx_atomic_write_unit_max_opt
.. attribute:: stx_atomic_write_unit_min

Maximum optimized size for direct I/O with torn-write protection.
Minimum size for direct I/O with torn-write protection.

Equal to ``None`` if :data:`STATX_WRITE_ATOMIC` is missing from
:attr:`~statx_result.stx_mask`.

.. availability:: Linux >= 4.11 with glibc >= 2.28 and build-time kernel
userspace API headers >= 6.16.
userspace API headers >= 6.11.

.. attribute:: stx_attributes

Expand Down Expand Up @@ -3536,19 +3531,19 @@ features:

Minor number of the device on which this file resides.

.. attribute:: stx_dio_offset_align
.. attribute:: stx_dio_mem_align

Direct I/O file offset alignment requirement.
Direct I/O memory buffer alignment requirement.

Equal to ``None`` if :data:`STATX_DIOALIGN` is missing from
:attr:`~statx_result.stx_mask`.

.. availability:: Linux >= 4.11 with glibc >= 2.28 and build-time kernel
userspace API headers >= 6.1.

.. attribute:: stx_dio_mem_align
.. attribute:: stx_dio_offset_align

Direct I/O memory buffer alignment requirement.
Direct I/O file offset alignment requirement.

Equal to ``None`` if :data:`STATX_DIOALIGN` is missing from
:attr:`~statx_result.stx_mask`.
Expand Down Expand Up @@ -3580,6 +3575,11 @@ features:
Equal to ``None`` if :data:`STATX_INO` is missing from
:attr:`~statx_result.stx_mask`.

.. attribute:: stx_mask

Bitmask of :const:`STATX_* <STATX_TYPE>` constants specifying the
information retrieved, which may differ from what was requested.

.. attribute:: stx_mnt_id

Mount identifier.
Expand All @@ -3594,6 +3594,9 @@ features:

File mode: file type and file mode bits (permissions).

Equal to ``None`` if :data:`STATX_TYPE | STATX_MODE <STATX_TYPE>`
is missing from :attr:`~statx_result.stx_mask`.

.. attribute:: stx_mtime

Time of most recent content modification expressed in seconds.
Expand Down
Loading
Loading