doc: posix: option groups: add C_LANG_JUMP and C_LANG_MATH

Add POSIX_C_LANG_JUMP and POSIX_C_LANG_MATH option groups
with links to specification details on opengroup.org .

Signed-off-by: Christopher Friedt <cfriedt@meta.com>
This commit is contained in:
Christopher Friedt 2024-01-04 13:33:49 -05:00 committed by Fabio Baltieri
parent 283d813c88
commit ce42bf3820
2 changed files with 41 additions and 5 deletions

View file

@ -25,7 +25,7 @@ Minimal Realtime System Profile (PSE51)
:header: Symbol, Support, Remarks
:widths: 50, 10, 50
POSIX_C_LANG_JUMP,,
POSIX_C_LANG_JUMP, yes, :ref:`POSIX_C_LANG_JUMP <posix_option_group_c_lang_jump>`
POSIX_C_LANG_SUPPORT, yes, :ref:`POSIX_C_LANG_SUPPORT <posix_option_group_c_lang_support>`
POSIX_DEVICE_IO,, :ref:`†<posix_undefined_behaviour>`
POSIX_FILE_LOCKING,,
@ -74,8 +74,8 @@ Realtime Controller System Profile (PSE52)
:header: Symbol, Support, Remarks
:widths: 50, 10, 50
POSIX_C_LANG_JUMP,,
POSIX_C_LANG_MATH, yes,
POSIX_C_LANG_JUMP, yes, :ref:`POSIX_C_LANG_JUMP <posix_option_group_c_lang_jump>`
POSIX_C_LANG_MATH, yes, :ref:`POSIX_C_LANG_MATH <posix_option_group_c_lang_math>`
POSIX_C_LANG_SUPPORT, yes, :ref:`POSIX_C_LANG_SUPPORT <posix_option_group_c_lang_support>`
POSIX_DEVICE_IO,, :ref:`†<posix_undefined_behaviour>`
POSIX_FD_MGMT,,
@ -131,8 +131,8 @@ Dedicated Realtime System Profile (PSE53)
:header: Symbol, Support, Remarks
:widths: 50, 10, 50
POSIX_C_LANG_JUMP,,
POSIX_C_LANG_MATH, yes,
POSIX_C_LANG_JUMP, yes, :ref:`POSIX_C_LANG_JUMP <posix_option_group_c_lang_jump>`
POSIX_C_LANG_MATH, yes, :ref:`POSIX_C_LANG_MATH <posix_option_group_c_lang_math>`
POSIX_C_LANG_SUPPORT, yes, :ref:`POSIX_C_LANG_SUPPORT <posix_option_group_c_lang_support>`
POSIX_DEVICE_IO,, :ref:`†<posix_undefined_behaviour>`
POSIX_FD_MGMT,,

View file

@ -102,6 +102,38 @@ This table lists service support status in Zephyr:
pthread_getconcurrency(),yes
pthread_setconcurrency(),yes
.. _posix_option_group_c_lang_jump:
POSIX_C_LANG_JUMP
=================
The ``POSIX_C_LANG_JUMP`` Option Group is included in the ISO C standard.
.. note::
When using Newlib, Picolibc, or other C libraries conforming to the ISO C Standard, the
``POSIX_C_LANG_JUMP`` Option Group is considered supported.
.. csv-table:: POSIX_C_LANG_JUMP
:header: API, Supported
:widths: 50,10
setjmp(), yes
longjmp(), yes
.. _posix_option_group_c_lang_math:
POSIX_C_LANG_MATH
=================
The ``POSIX_C_LANG_MATH`` Option Group is included in the ISO C standard.
.. note::
When using Newlib, Picolibc, or other C libraries conforming to the ISO C Standard, the
``POSIX_C_LANG_MATH`` Option Group is considered supported.
Please refer to `Subprofiling Considerations`_ for details on the ``POSIX_C_LANG_MATH`` Option
Group.
.. _posix_option_group_c_lang_support:
POSIX_C_LANG_SUPPORT
@ -450,3 +482,7 @@ _XOPEN_STREAMS
isastream(),
putmsg(),
putpmsg(),
.. _Subprofiling Considerations:
https://pubs.opengroup.org/onlinepubs/9699919799/xrat/V4_subprofiles.html