posix: fs: implement readdir_r

Add implementation for `readdir_r()`.

Signed-off-by: Yong Cong Sin <ycsin@meta.com>
This commit is contained in:
Yong Cong Sin 2024-06-14 16:18:20 +08:00 committed by Carles Cufí
commit b7ad4c53b0
5 changed files with 65 additions and 5 deletions

View file

@ -997,7 +997,7 @@ Enable this option with :kconfig:option:`CONFIG_POSIX_THREAD_SAFE_FUNCTIONS`.
putc_unlocked(),
putchar_unlocked(),
rand_r(), yes
readdir_r(),
readdir_r(), yes
strerror_r(), yes
strtok_r(), yes