Skip to content

Commit 694c739

Browse files
committed
doc: posix: options: mark _POSIX_THREAD_SAFE_FUNCTIONS supported
Mark the _POSIX_THREAD_SAFE_FUNCTIONS Option as supported. This Option is required mandatory for any conformant implementation and is comprised of functions belonging to the following Option Groups: - POSIX_C_LANG_SUPPORT_R - POSIX_FILE_LOCKING - POSIX_FILE_SYSTEM_R - POSIX_SYSTEM_DATABASE_R Signed-off-by: Chris Friedt <cfriedt@tenstorrent.com>
1 parent a5f0778 commit 694c739

File tree

1 file changed

+14
-12
lines changed
  • doc/services/portability/posix/option_groups

1 file changed

+14
-12
lines changed

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

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1087,27 +1087,29 @@ Enable this option with :kconfig:option:`CONFIG_POSIX_THREAD_PRIORITY_SCHEDULING
10871087
_POSIX_THREAD_SAFE_FUNCTIONS
10881088
++++++++++++++++++++++++++++
10891089

1090-
Enable this option with :kconfig:option:`CONFIG_POSIX_THREAD_SAFE_FUNCTIONS`.
1090+
Enable this option with :kconfig:option:`CONFIG_POSIX_C_LANG_SUPPORT_R`,
1091+
:kconfig:option:`CONFIG_POSIX_FILE_LOCKING`, :kconfig:option:`CONFIG_POSIX_FILE_SYSTEM_R`,
1092+
and :kconfig:option:`CONFIG_POSIX_SYSTEM_DATABASE_R`.
10911093

10921094
.. csv-table:: _POSIX_THREAD_SAFE_FUNCTIONS
10931095
:header: API, Supported
10941096
:widths: 50,10
10951097

10961098
asctime_r(), yes
10971099
ctime_r(), yes (UTC timezone only)
1098-
flockfile(),
1099-
ftrylockfile(),
1100-
funlockfile(),
1101-
getc_unlocked(),
1102-
getchar_unlocked(),
1103-
getgrgid_r(),yes :ref:`†<posix_undefined_behaviour>`
1104-
getgrnam_r(),yes :ref:`†<posix_undefined_behaviour>`
1105-
getpwnam_r(),yes :ref:`†<posix_undefined_behaviour>`
1106-
getpwuid_r(),yes :ref:`†<posix_undefined_behaviour>`
1100+
flockfile(), yes
1101+
ftrylockfile(), yes
1102+
funlockfile(), yes
1103+
getc_unlocked(), yes
1104+
getchar_unlocked(), yes
1105+
getgrgid_r(),yes
1106+
getgrnam_r(),yes
1107+
getpwnam_r(),yes
1108+
getpwuid_r(),yes
11071109
gmtime_r(), yes
11081110
localtime_r(), yes (UTC timezone only)
1109-
putc_unlocked(),
1110-
putchar_unlocked(),
1111+
putc_unlocked(), yes
1112+
putchar_unlocked(), yes
11111113
rand_r(), yes
11121114
readdir_r(), yes
11131115
strerror_r(), yes

0 commit comments

Comments
 (0)