summaryrefslogtreecommitdiff
path: root/src/ftw/_ftw.h
diff options
context:
space:
mode:
authorJakob Kaivo <jkk@ung.org>2022-04-21 19:11:02 -0400
committerJakob Kaivo <jkk@ung.org>2022-04-21 19:11:02 -0400
commit07e6d999712be764a20365becb145f7cd1e3119c (patch)
treef6711f8a7ee134949bd7c6b355ef9453b02001db /src/ftw/_ftw.h
parent29c25171fbd4394c6007935c31f7d0e0995a6792 (diff)
prep common (n)ftw() implementation
Diffstat (limited to 'src/ftw/_ftw.h')
-rw-r--r--src/ftw/_ftw.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/ftw/_ftw.h b/src/ftw/_ftw.h
new file mode 100644
index 00000000..2225061e
--- /dev/null
+++ b/src/ftw/_ftw.h
@@ -0,0 +1,8 @@
+#ifndef ___FTW_H__
+#define ___FTW_H__
+
+#define __FTW_OLD (-1)
+
+int __ftw(const char *path, int (*fn)(), int fd_limit, int flags);
+
+#endif