From 0bcf71e28a28b62d186a9f9495a56adb1e4aed9f Mon Sep 17 00:00:00 2001 From: Chris Friedt Date: Fri, 22 Mar 2024 22:09:52 -0400 Subject: [PATCH] doc: posix: add POSIX_NETWORKING Option Group and mark supported Mark the POSIX_NETWORKING Option Group as supported. The POSIX_NETWORKING Option Group is required for PSE53 Conformance. Signed-off-by: Chris Friedt --- doc/services/portability/posix/aep/index.rst | 2 +- .../portability/posix/option_groups/index.rst | 64 +++++++++++++++++++ 2 files changed, 65 insertions(+), 1 deletion(-) diff --git a/doc/services/portability/posix/aep/index.rst b/doc/services/portability/posix/aep/index.rst index c532c2a059bc..fdc2716b2e24 100644 --- a/doc/services/portability/posix/aep/index.rst +++ b/doc/services/portability/posix/aep/index.rst @@ -139,7 +139,7 @@ Dedicated Realtime System Profile (PSE53) POSIX_FILE_LOCKING,, POSIX_FILE_SYSTEM,, POSIX_MULTI_PROCESS,, :ref:`†` - POSIX_NETWORKING, yes, :ref:`†` + POSIX_NETWORKING, yes, :ref:`POSIX_NETWORKING ` POSIX_PIPE,, :ref:`†` POSIX_SIGNALS,, :ref:`†` POSIX_SIGNAL_JUMP,, :ref:`†` diff --git a/doc/services/portability/posix/option_groups/index.rst b/doc/services/portability/posix/option_groups/index.rst index 569cfe45aa52..0c1267ed69ed 100644 --- a/doc/services/portability/posix/option_groups/index.rst +++ b/doc/services/portability/posix/option_groups/index.rst @@ -289,6 +289,70 @@ POSIX_CLOCK_SELECTION pthread_condattr_setclock(),yes clock_nanosleep(),yes +.. _posix_option_group_networking: + +POSIX_NETWORKING +================ + +.. csv-table:: POSIX_NETWORKING + :header: API, Supported + :widths: 50,10 + + accept(),yes + bind(),yes + connect(),yes + endhostent(),yes + endnetent(),yes + endprotoent(),yes + endservent(),yes + freeaddrinfo(),yes + gai_strerror(),yes + getaddrinfo(),yes + gethostent(),yes + gethostname(),yes + getnameinfo(),yes + getnetbyaddr(),yes + getnetbyname(),yes + getnetent(),yes + getpeername(),yes + getprotobyname(),yes + getprotobynumber(),yes + getprotoent(),yes + getservbyname(),yes + getservbyport(),yes + getservent(),yes + getsockname(),yes + getsockopt(),yes + htonl(),yes + htons(),yes + if_freenameindex(),yes + if_indextoname(),yes + if_nameindex(),yes + if_nametoindex(),yes + inet_addr(),yes + inet_ntoa(),yes + inet_ntop(),yes + inet_pton(),yes + listen(),yes + ntohl(),yes + ntohs(),yes + recv(),yes + recvfrom(),yes + recvmsg(),yes + send(),yes + sendmsg(),yes + sendto(),yes + sethostent(),yes + setnetent(),yes + setprotoent(),yes + setservent(),yes + setsockopt(),yes + shutdown(),yes + socket(),yes + sockatmark(),yes (will fail with ``ENOSYS``:ref:`†`) + socketpair(),yes + + .. _posix_option_group_semaphores: POSIX_SEMAPHORES