From 352f9e613f5bc77ad5fda7e618fe684999a1459c Mon Sep 17 00:00:00 2001 From: Yong Cong Sin Date: Sat, 16 Nov 2024 13:17:09 +0800 Subject: [PATCH 1/2] doc: posix: option_groups: add section for POSIX_FILE_SYSTEM_R Add section for POSIX_FILE_SYSTEM_R which contains only `readdir_r()`. Signed-off-by: Yong Cong Sin --- .../portability/posix/option_groups/index.rst | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/doc/services/portability/posix/option_groups/index.rst b/doc/services/portability/posix/option_groups/index.rst index 300fd9118e3ca..e1e2b930cc803 100644 --- a/doc/services/portability/posix/option_groups/index.rst +++ b/doc/services/portability/posix/option_groups/index.rst @@ -258,6 +258,19 @@ Enable this option group with :kconfig:option:`CONFIG_POSIX_FILE_SYSTEM`. unlink(), yes utime(), +.. _posix_option_group_file_system_r: + +POSIX_FILE_SYSTEM_R ++++++++++++++++++++ + +Enable this option with :kconfig:option:`CONFIG_POSIX_FILE_SYSTEM_R`. + +.. csv-table:: POSIX_FILE_SYSTEM_R + :header: API, Supported + :widths: 50,10 + + readdir_r(), yes + .. _posix_option_group_mapped_files: POSIX_MAPPED_FILES From efbd5e8d49b5cae27d6a2e562ad557cad5f379aa Mon Sep 17 00:00:00 2001 From: Yong Cong Sin Date: Sat, 16 Nov 2024 13:23:29 +0800 Subject: [PATCH 2/2] doc: release-notes-4.0: posix: update for _POSIX_THREAD_SAFE_FUNCTIONS Mention the `_POSIX_THREAD_SAFE_FUNCTIONS` functions implemented in #74394. Signed-off-by: Yong Cong Sin --- doc/releases/release-notes-4.0.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/releases/release-notes-4.0.rst b/doc/releases/release-notes-4.0.rst index 8b9ede8f11eba..492057c551d39 100644 --- a/doc/releases/release-notes-4.0.rst +++ b/doc/releases/release-notes-4.0.rst @@ -1367,6 +1367,7 @@ Libraries / Subsystems * :ref:`POSIX_DEVICE_IO ` * :ref:`POSIX_SIGNALS ` + * :ref:`POSIX_FILE_SYSTEM_R ` * Added support for the following Options: @@ -1381,6 +1382,7 @@ Libraries / Subsystems * :ref:`_POSIX_THREAD_SAFE_FUNCTIONS ` improvements: * Support for :c:func:`asctime_r`, :c:func:`ctime_r`, and :c:func:`localtime_r`. + * Added stub for :c:func:`getpwnam_r`, :c:func:`getpwuid_r`, :c:func:`getgrgid_r` and :c:func:`getgrnam_r`. * :ref:`POSIX_THREADS_BASE ` improvements: