diff options
author | Thomas Weißschuh <thomas.weissschuh@linutronix.de> | 2025-02-09 14:25:46 +0100 |
---|---|---|
committer | Thomas Weißschuh <linux@weissschuh.net> | 2025-02-09 16:46:50 +0100 |
commit | 665fa8dea90d9fbc0e7137c7e1315d6f7e15757e (patch) | |
tree | dbf986c1f561e2c0d4bea872c539d4702d34ded4 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | dde5625d4d75787a59e95f4d7d6983714bfc14c7 (diff) |
tools/nolibc: add support for directory access
Add an implementation for directory access operations.
To keep nolibc itself allocation-free, a "DIR *" does not point to any
data, but directly encodes a filedescriptor number, equivalent to "FILE *".
Without any per-directory storage it is not possible to implement
readdir() POSIX confirming. Instead only readdir_r() is provided.
While readdir_r() is deprecated in glibc, the reasons for that are
not applicable to nolibc.
Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
Link: https://lore.kernel.org/r/20250209-nolibc-dir-v2-2-57cc1da8558b@weissschuh.net
Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions