From 4b8a0f3f3dcf60dac2ce308ea08d413a535af29f Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 15 Apr 2024 21:12:14 +0200 Subject: Adding upstream version 5.4.4. Signed-off-by: Daniel Baumann --- filecntl.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 filecntl.h (limited to 'filecntl.h') 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 -- cgit v1.2.3