From 1ddefc6ba0336fbe118aa42f1515153c0e1d0d94 Mon Sep 17 00:00:00 2001 From: Karthikeyan Krishnasamy Date: Thu, 18 Apr 2024 11:54:00 +0530 Subject: [PATCH] doc: posix: mark fynsc as supported Mark fsync as supported in POSIX options Documentation Signed-off-by: Karthikeyan Krishnasamy --- .../portability/posix/conformance/index.rst | 6 ++--- .../portability/posix/option_groups/index.rst | 26 +++++++++++++++++-- 2 files changed, 27 insertions(+), 5 deletions(-) diff --git a/doc/services/portability/posix/conformance/index.rst b/doc/services/portability/posix/conformance/index.rst index 2b2e687d94e..0c6cc2948e4 100644 --- a/doc/services/portability/posix/conformance/index.rst +++ b/doc/services/portability/posix/conformance/index.rst @@ -80,7 +80,7 @@ POSIX System Interfaces _POSIX_ADVISORY_INFO, -1, _POSIX_CPUTIME, 200809L, :kconfig:option:`CONFIG_POSIX_CLOCK` - _POSIX_FSYNC, -1, + _POSIX_FSYNC, 200809L, :kconfig:option:`CONFIG_POSIX_FS` _POSIX_IPV6, 200809L, :kconfig:option:`CONFIG_NET_IPV6` _POSIX_MEMLOCK, -1, _POSIX_MEMLOCK_RANGE, -1, @@ -92,7 +92,7 @@ POSIX System Interfaces _POSIX_SHARED_MEMORY_OBJECTS, -1, _POSIX_SPAWN, -1, _POSIX_SPORADIC_SERVER, -1, - _POSIX_SYNCHRONIZED_IO, -1, + _POSIX_SYNCHRONIZED_IO, -1, :kconfig:option:`CONFIG_POSIX_FS` :ref:`_POSIX_THREAD_ATTR_STACKADDR`, 200809L, :kconfig:option:`CONFIG_PTHREAD` _POSIX_THREAD_CPUTIME, -1, :ref:`_POSIX_THREAD_ATTR_STACKSIZE`, 200809L, :kconfig:option:`CONFIG_PTHREAD` @@ -146,7 +146,7 @@ XSI System Interfaces :header: Symbol, Support, Remarks :widths: 50, 10, 50 - _POSIX_FSYNC, -1, :ref:`†` + _POSIX_FSYNC, 200809L, :kconfig:option:`CONFIG_POSIX_FS` :ref:`_POSIX_THREAD_ATTR_STACKADDR`, 200809L, :kconfig:option:`CONFIG_PTHREAD` :ref:`_POSIX_THREAD_ATTR_STACKSIZE`, 200809L, :kconfig:option:`CONFIG_PTHREAD` _POSIX_THREAD_PROCESS_SHARED, -1, diff --git a/doc/services/portability/posix/option_groups/index.rst b/doc/services/portability/posix/option_groups/index.rst index d4b3596b328..251abcc5fd8 100644 --- a/doc/services/portability/posix/option_groups/index.rst +++ b/doc/services/portability/posix/option_groups/index.rst @@ -406,12 +406,22 @@ POSIX_TIMERS timer_getoverrun(),yes timer_settime(),yes - .. _posix_options: Additional POSIX Options ======================== +.. _posix_option_fsync: + +_POSIX_FSYNC +++++++++++++ + +.. csv-table:: _POSIX_FSYNC + :header: API, Supported + :widths: 50,10 + + fsync(),yes + .. _posix_option_message_passing: _POSIX_MESSAGE_PASSING @@ -469,6 +479,19 @@ _POSIX_READER_WRITER_LOCKS pthread_rwlockattr_init(),yes pthread_rwlockattr_setpshared(),yes +.. _posix_option_synchronized_io: + +_POSIX_SYNCHRONIZED_IO +++++++++++++++++++++++ + +.. csv-table:: _POSIX_SYNCHRONIZED_IO + :header: API, Supported + :widths: 50,10 + + fdatasync(), + fsync(),yes + msync(), + .. _posix_option_thread_attr_stackaddr: _POSIX_THREAD_ATTR_STACKADDR @@ -576,6 +599,5 @@ _XOPEN_STREAMS putmsg(), yes (will fail with ``ENOSYS``:ref:`†`) putpmsg(), - .. _Subprofiling Considerations: https://pubs.opengroup.org/onlinepubs/9699919799/xrat/V4_subprofiles.html