Skip to content

Commit

Permalink
doc: posix: mark posix device io as complete
Browse files Browse the repository at this point in the history
Mark the POSIX_DEVICE_IO Option Group as commplete. This Option
Group is required for PSE51, PSE52, PSE53, PSE54, and most of
the interesting applications involving file descriptors and
sockets.

Signed-off-by: Chris Friedt <cfriedt@tenstorrent.com>
  • Loading branch information
Chris Friedt authored and nashif committed Jun 27, 2024
1 parent 499a633 commit d9855da
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 28 deletions.
2 changes: 1 addition & 1 deletion doc/services/portability/posix/aep/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ The *Minimal Realtime System Profile* (PSE51) includes all of the

:ref:`POSIX_C_LANG_JUMP <posix_option_group_c_lang_jump>`, yes,
:ref:`POSIX_C_LANG_SUPPORT <posix_option_group_c_lang_support>`, yes,
:ref:`POSIX_DEVICE_IO <posix_option_group_device_io>`,, :kconfig:option:`CONFIG_POSIX_DEVICE_IO`
:ref:`POSIX_DEVICE_IO <posix_option_group_device_io>`, yes, :kconfig:option:`CONFIG_POSIX_DEVICE_IO`
:ref:`POSIX_SIGNALS <posix_option_group_signals>`,, :kconfig:option:`CONFIG_POSIX_SIGNALS`
:ref:`POSIX_SINGLE_PROCESS <posix_option_group_single_process>`, yes, :kconfig:option:`CONFIG_POSIX_SINGLE_PROCESS`
:ref:`XSI_THREADS_EXT <posix_option_group_xsi_threads_ext>`, yes, :kconfig:option:`CONFIG_XSI_THREADS_EXT`
Expand Down
58 changes: 31 additions & 27 deletions doc/services/portability/posix/option_groups/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -271,6 +271,10 @@ required for error and event handling.
POSIX_DEVICE_IO
===============

.. note::
When using Newlib, Picolibc, or other C libraries conforming to the ISO C Standard, the
C89 components of the ``POSIX_DEVICE_IO`` Option Group are considered supported.

.. csv-table:: POSIX_DEVICE_IO
:header: API, Supported
:widths: 50,10
Expand All @@ -281,48 +285,48 @@ POSIX_DEVICE_IO
FD_ZERO(),yes
clearerr(),yes
close(),yes
fclose(),
fdopen(),
feof(),
ferror(),
fflush(),
fgetc(),
fgets(),
fileno(),
fopen(),
fclose(),yes
fdopen(), yes
feof(),yes
ferror(),yes
fflush(),yes
fgetc(),yes
fgets(),yes
fileno(), yes
fopen(),yes
fprintf(),yes
fputc(),yes
fputs(),yes
fread(),
freopen(),
fscanf(),
fread(),yes
freopen(),yes
fscanf(),yes
fwrite(),yes
getc(),
getchar(),
gets(),
getc(),yes
getchar(),yes
gets(),yes
open(),yes
perror(),yes
poll(),yes
printf(),yes
pread(),
pselect(),
pread(),yes
pselect(),yes
putc(),yes
putchar(),yes
puts(),yes
pwrite(),
pwrite(),yes
read(),yes
scanf(),
scanf(),yes
select(),yes
setbuf(),
setvbuf(),
stderr,
stdin,
stdout,
ungetc(),
setbuf(),yes
setvbuf(),yes
stderr,yes
stdin,yes
stdout,yes
ungetc(),yes
vfprintf(),yes
vfscanf(),
vfscanf(),yes
vprintf(),yes
vscanf(),
vscanf(),yes
write(),yes

.. _posix_option_group_barriers:
Expand Down

0 comments on commit d9855da

Please sign in to comment.