doc: posix: mark XSI_REALTIME as supported

Mark the XSI_REALTIME Option Group as supported, such that the
_XOPEN_REALTIME feature test macro may be tested.

Signed-off-by: Chris Friedt <cfriedt@tenstorrent.com>
This commit is contained in:
Chris Friedt 2025-01-27 20:42:18 -05:00 committed by Benjamin Cabé
commit 1237c8699a
2 changed files with 19 additions and 1 deletions

View file

@ -95,7 +95,7 @@ POSIX System Interfaces
_POSIX_TRACE_LOG, -1,
_POSIX_TYPED_MEMORY_OBJECTS, -1,
_XOPEN_CRYPT, -1,
_XOPEN_REALTIME, -1,
:ref:`_XOPEN_REALTIME <posix_option_group_xsi_realtime>`, 700, :kconfig:option:`CONFIG_XSI_REALTIME`
_XOPEN_REALTIME_THREADS, -1,
:ref:`_XOPEN_STREAMS<posix_option_xopen_streams>`, 200809L, :kconfig:option:`CONFIG_XOPEN_STREAMS`
_XOPEN_UNIX, -1,

View file

@ -641,6 +641,24 @@ Enable this option group with :kconfig:option:`CONFIG_POSIX_TIMERS`.
timer_getoverrun(),yes
timer_settime(),yes
.. _posix_option_group_xsi_realtime:
XSI_REALTIME
++++++++++++
The ``XSI_REALTIME`` option group indicates that the :ref:`_POSIX_FSYNC<posix_option_fsync>`,
:ref:`_POSIX_MEMLOCK<posix_option_memlock>`,
:ref:`_POSIX_MEMLOCK_RANGE<posix_option_memlock_range>`,
:ref:`_POSIX_MESSAGE_PASSING<posix_option_message_passing>`,
:ref:`_POSIX_PRIORITY_SCHEDULING<posix_option_priority_scheduling>`,
:ref:`_POSIX_SHARED_MEMORY_OBJECTS<posix_option_shared_memory_objects>`, and
:ref:`_POSIX_SYNCHRONIZED_IO<posix_option_synchronized_io>` options are enabled.
Enable this option group with :kconfig:option:`CONFIG_XSI_REALTIME`.
When this option group is enabled, the ``_XOPEN_REALTIME`` feature test macro will be defined to a
value other than -1.
.. _posix_option_group_xsi_system_logging:
XSI_SYSTEM_LOGGING