diff options
| author | Benjamin Berg <benjamin.berg@intel.com> | 2025-09-24 16:20:51 +0200 |
|---|---|---|
| committer | Thomas Weißschuh <linux@weissschuh.net> | 2025-10-29 16:29:14 +0100 |
| commit | 4ada5679f18dbbe92d87c37a842c3368e6ab5e4a (patch) | |
| tree | 5556cd50c720dcce78ffc5617718cc2315b3bf83 /tools/include/nolibc/compiler.h | |
| parent | c485ca3aff2442adea4c08ceb5183e671ebed22a (diff) | |
tools/nolibc/dirent: avoid errno in readdir_r
Using errno is not possible when NOLIBC_IGNORE_ERRNO is set. Use
sys_lseek instead of lseek as that avoids using errno.
Fixes: 665fa8dea90d ("tools/nolibc: add support for directory access")
Signed-off-by: Benjamin Berg <benjamin.berg@intel.com>
Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Diffstat (limited to 'tools/include/nolibc/compiler.h')
0 files changed, 0 insertions, 0 deletions