diff --git a/doc/services/portability/posix/aep/index.rst b/doc/services/portability/posix/aep/index.rst index 8c7cf8c0b99a32..0e7f71cdf7215c 100644 --- a/doc/services/portability/posix/aep/index.rst +++ b/doc/services/portability/posix/aep/index.rst @@ -51,7 +51,7 @@ The *Minimal Realtime System Profile* (PSE51) includes all of the :ref:`POSIX_C_LANG_JUMP `, yes, :ref:`POSIX_C_LANG_SUPPORT `, yes, :ref:`POSIX_DEVICE_IO `,, :kconfig:option:`CONFIG_POSIX_DEVICE_IO` - :ref:`POSIX_SIGNALS `,, :kconfig:option:`CONFIG_POSIX_SIGNALS` + :ref:`POSIX_SIGNALS `, yes, :kconfig:option:`CONFIG_POSIX_SIGNALS` :ref:`†` :ref:`POSIX_SINGLE_PROCESS `, yes, :kconfig:option:`CONFIG_POSIX_SINGLE_PROCESS` :ref:`XSI_THREADS_EXT `, yes, :kconfig:option:`CONFIG_XSI_THREADS_EXT` diff --git a/doc/services/portability/posix/option_groups/index.rst b/doc/services/portability/posix/option_groups/index.rst index 5526b7b1a1a859..d227c9c2233d2e 100644 --- a/doc/services/portability/posix/option_groups/index.rst +++ b/doc/services/portability/posix/option_groups/index.rst @@ -450,31 +450,36 @@ POSIX_SIGNAL_JUMP POSIX_SIGNALS +++++++++++++ -Signal services are a basic mechanism within POSIX-based systems and are -required for error and event handling. - Enable this option group with :kconfig:option:`CONFIG_POSIX_SIGNALS`. +.. note:: + As processes are not yet supported in Zephyr, the ISO C functions ``abort()``, ``signal()``, + and ``raise()``, as well as the other POSIX functions listed below, may exhibit undefined + behaviour. The POSIX functions ``kill()``, ``pause()``, ``sigaction()``, ``sigpending()``, + ``sigsuspend()``, and ``sigwait()`` are implemented to ensure that conformant applications can + link, but they are expected to fail, setting errno to ``ENOSYS`` + :ref:`†`. + .. csv-table:: POSIX_SIGNALS :header: API, Supported :widths: 50,10 - abort(),yes - alarm(), - kill(), - pause(), - raise(), - sigaction(), + abort(),yes :ref:`†` + alarm(),yes :ref:`†` + kill(),yes :ref:`†` + pause(),yes :ref:`†` + raise(),yes :ref:`†` + sigaction(),yes :ref:`†` sigaddset(),yes sigdelset(),yes sigemptyset(),yes sigfillset(),yes sigismember(),yes - signal(), - sigpending(), + signal(),yes :ref:`†` + sigpending(),yes :ref:`†` sigprocmask(),yes - sigsuspend(), - sigwait(), + sigsuspend(),yes :ref:`†` + sigwait(),yes :ref:`†` strsignal(),yes .. _posix_option_group_single_process: