Commit 1ddefc6b authored by Karthikeyan Krishnasamy's avatar Karthikeyan Krishnasamy Committed by Carles Cufi
Browse files

doc: posix: mark fynsc as supported



Mark fsync as supported in POSIX options Documentation

Signed-off-by: default avatarKarthikeyan Krishnasamy <karthikeyan@linumiz.com>
parent cc06c2b2
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -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<posix_option_thread_attr_stackaddr>`, 200809L, :kconfig:option:`CONFIG_PTHREAD`
    _POSIX_THREAD_CPUTIME, -1,
    :ref:`_POSIX_THREAD_ATTR_STACKSIZE<posix_option_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_undefined_behaviour>`
    _POSIX_FSYNC, 200809L, :kconfig:option:`CONFIG_POSIX_FS`
    :ref:`_POSIX_THREAD_ATTR_STACKADDR<posix_option_thread_attr_stackaddr>`, 200809L, :kconfig:option:`CONFIG_PTHREAD`
    :ref:`_POSIX_THREAD_ATTR_STACKSIZE<posix_option_thread_attr_stacksize>`, 200809L, :kconfig:option:`CONFIG_PTHREAD`
    _POSIX_THREAD_PROCESS_SHARED, -1,
+24 −2
Original line number Diff line number Diff line
@@ -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:`†<posix_undefined_behaviour>`)
    putpmsg(),


.. _Subprofiling Considerations:
    https://pubs.opengroup.org/onlinepubs/9699919799/xrat/V4_subprofiles.html