Skip to content

Commit 3ec76e8

Browse files
cfriedtaescolar
authored andcommitted
doc: posix: options: make column size consistent
For some reason, when the "Supported" coumn of the posix option documentation included large strings, it would distort the size of the entire table. Move blurbs about undefined behaviour and failing with ENOSYS to a paragraph above the table, so that all tables have a homogeneous size. Signed-off-by: Chris Friedt <cfriedt@tenstorrent.com>
1 parent 31c7773 commit 3ec76e8

File tree

1 file changed

+8
-4
lines changed
  • doc/services/portability/posix/option_groups

1 file changed

+8
-4
lines changed

doc/services/portability/posix/option_groups/index.rst

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -367,7 +367,7 @@ to ``ENOSYS`` :ref:`†<posix_undefined_behaviour>`.
367367
setsockopt(),yes
368368
shutdown(),yes
369369
socket(),yes
370-
sockatmark(),yes (will fail with ``ENOSYS``:ref:`†<posix_undefined_behaviour>`)
370+
sockatmark(),yes :ref:`†<posix_undefined_behaviour>`
371371
socketpair(),yes
372372

373373
.. _posix_option_group_pipe:
@@ -743,6 +743,10 @@ _POSIX_MONOTONIC_CLOCK
743743
_POSIX_PRIORITY_SCHEDULING
744744
++++++++++++++++++++++++++
745745

746+
As processes are not yet supported in Zephyr, the functions ``sched_rr_get_interval()``,
747+
``sched_setparam()``, and ``sched_setscheduler()`` are expected to fail setting ``errno``
748+
to ``ENOSYS``:ref:`†<posix_undefined_behaviour>`.
749+
746750
.. csv-table:: _POSIX_PRIORITY_SCHEDULING
747751
:header: API, Supported
748752
:widths: 50,10
@@ -751,9 +755,9 @@ _POSIX_PRIORITY_SCHEDULING
751755
sched_get_priority_min(),yes
752756
sched_getparam(),yes
753757
sched_getscheduler(),yes
754-
sched_rr_get_interval(),yes (will fail with ``ENOSYS``:ref:`†<posix_undefined_behaviour>`)
755-
sched_setparam(),yes (will fail with ``ENOSYS``:ref:`†<posix_undefined_behaviour>`)
756-
sched_setscheduler(),yes (will fail with ``ENOSYS``:ref:`†<posix_undefined_behaviour>`)
758+
sched_rr_get_interval(),yes :ref:`†<posix_undefined_behaviour>`
759+
sched_setparam(),yes :ref:`†<posix_undefined_behaviour>`
760+
sched_setscheduler(),yes :ref:`†<posix_undefined_behaviour>`
757761
sched_yield(),yes
758762

759763
.. _posix_option_raw_sockets:

0 commit comments

Comments
 (0)