1# Copyright (c) 2024 Tenstorrent AI ULC 2# Copyright (c) 2024 Meta Platforms 3# 4# SPDX-License-Identifier: Apache-2.0 5 6config POSIX_C_LANG_SUPPORT_R 7 bool "Thread-Safe General ISO C Library" 8 select COMMON_LIBC_ASCTIME_R if ! TC_PROVIDES_POSIX_C_LANG_SUPPORT_R 9 select COMMON_LIBC_CTIME_R if ! TC_PROVIDES_POSIX_C_LANG_SUPPORT_R 10 select COMMON_LIBC_GMTIME_R if ! TC_PROVIDES_POSIX_C_LANG_SUPPORT_R 11 select COMMON_LIBC_LOCALTIME_R_UTC if ! TC_PROVIDES_POSIX_C_LANG_SUPPORT_R 12 help 13 Select 'y' here and Zephyr will provide an implementation of the POSIX_C_LANG_SUPPORT_R 14 Option Group, consisting of asctime_r(), ctime_r(), gmtime_r(), localtime_r(), rand_r(), 15 strerror_r(), and strtok_r() 16 17 For more information, please see 18 https://pubs.opengroup.org/onlinepubs/9699919799/xrat/V4_subprofiles.html 19