doc: posix: mark asyncronous io as being supported

Mark the _POSIX_ASYNCHRONOUS_IO headers as supported, and note
the deviation that they return -1 and set errno to ENOTSUP.

At some later date, it might be possible to implement the
standard functions with other Zephyr API calls.

Signed-off-by: Chris Friedt <cfriedt@tenstorrent.com>
This commit is contained in:
Chris Friedt 2024-04-15 10:15:46 -04:00 committed by Carles Cufí
commit 28a69a8e80
2 changed files with 19 additions and 1 deletions

View file

@ -59,7 +59,7 @@ POSIX System Interfaces
:widths: 50, 10, 50
_POSIX_VERSION, 200809L,
_POSIX_ASYNCHRONOUS_IO, -1, :ref:`†<posix_undefined_behaviour>`
:ref:`_POSIX_ASYNCHRONOUS_IO<posix_option_asynchronous_io>`, 200809L, :ref:`†<posix_undefined_behaviour>`
:ref:`_POSIX_BARRIERS<posix_option_group_barriers>`, 200809L, :kconfig:option:`CONFIG_PTHREAD_BARRIER`
:ref:`_POSIX_CLOCK_SELECTION<posix_option_group_clock_selection>`, 200809L, :kconfig:option:`CONFIG_POSIX_CLOCK`
_POSIX_MAPPED_FILES, -1, :ref:`†<posix_undefined_behaviour>`

View file

@ -435,6 +435,24 @@ This table lists service support status in Zephyr for `POSIX_FD_MGMT`:
Additional POSIX Options
========================
.. _posix_option_asynchronous_io:
_POSIX_ASYNCHRONOUS_IO
++++++++++++++++++++++
.. csv-table:: _POSIX_ASYNCHRONOUS_IO
:header: API, Supported
:widths: 50,10
aio_cancel(),yes (will fail with ``ENOSYS``:ref:`†<posix_undefined_behaviour>`)
aio_error(),yes (will fail with ``ENOSYS``:ref:`†<posix_undefined_behaviour>`)
aio_fsync(),yes (will fail with ``ENOSYS``:ref:`†<posix_undefined_behaviour>`)
aio_read(),yes (will fail with ``ENOSYS``:ref:`†<posix_undefined_behaviour>`)
aio_return(),yes (will fail with ``ENOSYS``:ref:`†<posix_undefined_behaviour>`)
aio_suspend(),yes (will fail with ``ENOSYS``:ref:`†<posix_undefined_behaviour>`)
aio_write(),yes (will fail with ``ENOSYS``:ref:`†<posix_undefined_behaviour>`)
lio_listio(),yes (will fail with ``ENOSYS``:ref:`†<posix_undefined_behaviour>`)
.. _posix_option_fsync:
_POSIX_FSYNC