Skip to content

Commit fb1cb22

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 1f02b05 commit fb1cb22

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
@@ -1031,27 +1031,29 @@ Enable this option with :kconfig:option:`CONFIG_POSIX_THREAD_PRIORITY_SCHEDULING
10311031
_POSIX_THREAD_SAFE_FUNCTIONS
10321032
++++++++++++++++++++++++++++
10331033

1034-
Enable this option with :kconfig:option:`CONFIG_POSIX_THREAD_SAFE_FUNCTIONS`.
1034+
Enable this option with :kconfig:option:`CONFIG_POSIX_C_LANG_SUPPORT_R`,
1035+
:kconfig:option:`CONFIG_POSIX_FILE_LOCKING`, :kconfig:option:`CONFIG_POSIX_FILE_SYSTEM_R`,
1036+
and :kconfig:option:`CONFIG_POSIX_SYSTEM_DATABASE_R`.
10351037

10361038
.. csv-table:: _POSIX_THREAD_SAFE_FUNCTIONS
10371039
:header: API, Supported
10381040
:widths: 50,10
10391041

10401042
asctime_r(), yes
10411043
ctime_r(), yes (UTC timezone only)
1042-
flockfile(),
1043-
ftrylockfile(),
1044-
funlockfile(),
1045-
getc_unlocked(),
1046-
getchar_unlocked(),
1047-
getgrgid_r(),yes :ref:`†<posix_undefined_behaviour>`
1048-
getgrnam_r(),yes :ref:`†<posix_undefined_behaviour>`
1049-
getpwnam_r(),yes :ref:`†<posix_undefined_behaviour>`
1050-
getpwuid_r(),yes :ref:`†<posix_undefined_behaviour>`
1044+
flockfile(), yes
1045+
ftrylockfile(), yes
1046+
funlockfile(), yes
1047+
getc_unlocked(), yes
1048+
getchar_unlocked(), yes
1049+
getgrgid_r(),yes
1050+
getgrnam_r(),yes
1051+
getpwnam_r(),yes
1052+
getpwuid_r(),yes
10511053
gmtime_r(), yes
10521054
localtime_r(), yes (UTC timezone only)
1053-
putc_unlocked(),
1054-
putchar_unlocked(),
1055+
putc_unlocked(), yes
1056+
putchar_unlocked(), yes
10551057
rand_r(), yes
10561058
readdir_r(), yes
10571059
strerror_r(), yes

0 commit comments

Comments
 (0)