Skip to content

Commit fb66b50

Browse files
committed
doc: posix: mark posix device io as complete
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 <[email protected]>
1 parent 650c336 commit fb66b50

File tree

2 files changed

+32
-28
lines changed

2 files changed

+32
-28
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ The *Minimal Realtime System Profile* (PSE51) includes all of the
5050

5151
:ref:`POSIX_C_LANG_JUMP <posix_option_group_c_lang_jump>`, yes,
5252
:ref:`POSIX_C_LANG_SUPPORT <posix_option_group_c_lang_support>`, yes,
53-
:ref:`POSIX_DEVICE_IO <posix_option_group_device_io>`,, :kconfig:option:`CONFIG_POSIX_DEVICE_IO`
53+
:ref:`POSIX_DEVICE_IO <posix_option_group_device_io>`, yes, :kconfig:option:`CONFIG_POSIX_DEVICE_IO`
5454
:ref:`POSIX_SIGNALS <posix_option_group_signals>`,, :kconfig:option:`CONFIG_POSIX_SIGNALS`
5555
:ref:`POSIX_SINGLE_PROCESS <posix_option_group_single_process>`, yes, :kconfig:option:`CONFIG_POSIX_SINGLE_PROCESS`
5656
:ref:`XSI_THREADS_EXT <posix_option_group_xsi_threads_ext>`, yes, :kconfig:option:`CONFIG_XSI_THREADS_EXT`

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

+31-27
Original file line numberDiff line numberDiff line change
@@ -271,6 +271,10 @@ required for error and event handling.
271271
POSIX_DEVICE_IO
272272
===============
273273

274+
.. note::
275+
When using Newlib, Picolibc, or other C libraries conforming to the ISO C Standard, the
276+
C89 components of the ``POSIX_DEVICE_IO`` Option Group are considered supported.
277+
274278
.. csv-table:: POSIX_DEVICE_IO
275279
:header: API, Supported
276280
:widths: 50,10
@@ -281,48 +285,48 @@ POSIX_DEVICE_IO
281285
FD_ZERO(),yes
282286
clearerr(),yes
283287
close(),yes
284-
fclose(),
285-
fdopen(),
286-
feof(),
287-
ferror(),
288-
fflush(),
289-
fgetc(),
290-
fgets(),
291-
fileno(),
292-
fopen(),
288+
fclose(),yes
289+
fdopen(), yes
290+
feof(),yes
291+
ferror(),yes
292+
fflush(),yes
293+
fgetc(),yes
294+
fgets(),yes
295+
fileno(), yes
296+
fopen(),yes
293297
fprintf(),yes
294298
fputc(),yes
295299
fputs(),yes
296-
fread(),
297-
freopen(),
298-
fscanf(),
300+
fread(),yes
301+
freopen(),yes
302+
fscanf(),yes
299303
fwrite(),yes
300-
getc(),
301-
getchar(),
302-
gets(),
304+
getc(),yes
305+
getchar(),yes
306+
gets(),yes
303307
open(),yes
304308
perror(),yes
305309
poll(),yes
306310
printf(),yes
307-
pread(),
308-
pselect(),
311+
pread(),yes
312+
pselect(),yes
309313
putc(),yes
310314
putchar(),yes
311315
puts(),yes
312-
pwrite(),
316+
pwrite(),yes
313317
read(),yes
314-
scanf(),
318+
scanf(),yes
315319
select(),yes
316-
setbuf(),
317-
setvbuf(),
318-
stderr,
319-
stdin,
320-
stdout,
321-
ungetc(),
320+
setbuf(),yes
321+
setvbuf(),yes
322+
stderr,yes
323+
stdin,yes
324+
stdout,yes
325+
ungetc(),yes
322326
vfprintf(),yes
323-
vfscanf(),
327+
vfscanf(),yes
324328
vprintf(),yes
325-
vscanf(),
329+
vscanf(),yes
326330
write(),yes
327331

328332
.. _posix_option_group_barriers:

0 commit comments

Comments
 (0)