Skip to content

Commit e3a983e

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 4db1e55 commit e3a983e

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
@@ -1035,27 +1035,29 @@ Enable this option with :kconfig:option:`CONFIG_POSIX_THREAD_PRIORITY_SCHEDULING
10351035
_POSIX_THREAD_SAFE_FUNCTIONS
10361036
++++++++++++++++++++++++++++
10371037

1038-
Enable this option with :kconfig:option:`CONFIG_POSIX_THREAD_SAFE_FUNCTIONS`.
1038+
Enable this option with :kconfig:option:`CONFIG_POSIX_C_LANG_SUPPORT_R`,
1039+
:kconfig:option:`CONFIG_POSIX_FILE_LOCKING`, :kconfig:option:`CONFIG_POSIX_FILE_SYSTEM_R`,
1040+
and :kconfig:option:`CONFIG_POSIX_SYSTEM_DATABASE_R`.
10391041

10401042
.. csv-table:: _POSIX_THREAD_SAFE_FUNCTIONS
10411043
:header: API, Supported
10421044
:widths: 50,10
10431045

10441046
asctime_r(), yes
10451047
ctime_r(), yes (UTC timezone only)
1046-
flockfile(),
1047-
ftrylockfile(),
1048-
funlockfile(),
1049-
getc_unlocked(),
1050-
getchar_unlocked(),
1051-
getgrgid_r(),yes :ref:`†<posix_undefined_behaviour>`
1052-
getgrnam_r(),yes :ref:`†<posix_undefined_behaviour>`
1053-
getpwnam_r(),yes :ref:`†<posix_undefined_behaviour>`
1054-
getpwuid_r(),yes :ref:`†<posix_undefined_behaviour>`
1048+
flockfile(), yes
1049+
ftrylockfile(), yes
1050+
funlockfile(), yes
1051+
getc_unlocked(), yes
1052+
getchar_unlocked(), yes
1053+
getgrgid_r(),yes
1054+
getgrnam_r(),yes
1055+
getpwnam_r(),yes
1056+
getpwuid_r(),yes
10551057
gmtime_r(), yes
10561058
localtime_r(), yes (UTC timezone only)
1057-
putc_unlocked(),
1058-
putchar_unlocked(),
1059+
putc_unlocked(), yes
1060+
putchar_unlocked(), yes
10591061
rand_r(), yes
10601062
readdir_r(), yes
10611063
strerror_r(), yes

0 commit comments

Comments
 (0)