lib: posix: add stubs for thread-safe grp & pwd functions
Create stubs for getpwnam_r, getpwuid_r, getgrgid_r & getgrnam_r. These functions are in the _POSIX_THREAD_SAFE_FUNCTIONS option group. Signed-off-by: Yong Cong Sin <ycsin@meta.com>
This commit is contained in:
parent
b7ad4c53b0
commit
2ccfe8202d
8 changed files with 187 additions and 4 deletions
|
@ -988,10 +988,10 @@ Enable this option with :kconfig:option:`CONFIG_POSIX_THREAD_SAFE_FUNCTIONS`.
|
|||
funlockfile(),
|
||||
getc_unlocked(),
|
||||
getchar_unlocked(),
|
||||
getgrgid_r(),
|
||||
getgrnam_r(),
|
||||
getpwnam_r(),
|
||||
getpwuid_r(),
|
||||
getgrgid_r(),yes :ref:`†<posix_undefined_behaviour>`
|
||||
getgrnam_r(),yes :ref:`†<posix_undefined_behaviour>`
|
||||
getpwnam_r(),yes :ref:`†<posix_undefined_behaviour>`
|
||||
getpwuid_r(),yes :ref:`†<posix_undefined_behaviour>`
|
||||
gmtime_r(), yes
|
||||
localtime_r(),
|
||||
putc_unlocked(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue