summaryrefslogtreecommitdiffstats
path: root/filecntl.h
diff options
context:
space:
mode:
Diffstat (limited to 'filecntl.h')
-rw-r--r--filecntl.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/filecntl.h b/filecntl.h
new file mode 100644
index 0000000..5d8d6cc
--- /dev/null
+++ b/filecntl.h
@@ -0,0 +1,13 @@
+#ifndef REPREPRO_FILECNTL_H
+#define REPREPRO_FILECNTL_H
+
+#ifndef HAVE_CLOSEFROM
+void closefrom(int);
+#endif
+void markcloseonexec(int);
+int deletefile(const char *);
+bool isanyfile(const char *);
+bool isregularfile(const char *);
+bool isdirectory(const char *fullfilename);
+
+#endif