summaryrefslogtreecommitdiff
path: root/src/user/lib/include/ftw.h
diff options
context:
space:
mode:
authordzwdz2023-06-02 15:25:11 +0200
committerdzwdz2023-06-02 15:25:11 +0200
commit8fd4943b2721696f86783d22dd2e8d593a22a766 (patch)
tree2e2e664605571a07688021339a6be0f395bc62c2 /src/user/lib/include/ftw.h
parent51c39c73692e755596eafb0d6f732581fee3ba98 (diff)
libc: stub out sltar's requirements
Diffstat (limited to 'src/user/lib/include/ftw.h')
-rw-r--r--src/user/lib/include/ftw.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/user/lib/include/ftw.h b/src/user/lib/include/ftw.h
new file mode 100644
index 0000000..6dc8132
--- /dev/null
+++ b/src/user/lib/include/ftw.h
@@ -0,0 +1,6 @@
+#pragma once
+#include <sys/stat.h>
+
+int ftw(const char *dirpath,
+ int (*fn)(const char *fpath, const struct stat *sb, int typeflag),
+ int nopenfd);