summaryrefslogtreecommitdiffstats
path: root/include/fileutils.h
diff options
context:
space:
mode:
authorKarel Zak2014-06-09 10:59:18 +0200
committerKarel Zak2014-06-09 10:59:18 +0200
commit934530c7e831e6265142df14e08246dcb4952872 (patch)
tree95735583f191722e34a07f5ae783e8f8c02acb18 /include/fileutils.h
parentflock: document exit status of flock in man page (diff)
downloadkernel-qcow2-util-linux-934530c7e831e6265142df14e08246dcb4952872.tar.gz
kernel-qcow2-util-linux-934530c7e831e6265142df14e08246dcb4952872.tar.xz
kernel-qcow2-util-linux-934530c7e831e6265142df14e08246dcb4952872.zip
lib/fileutils: add mkdir_p() from libmount
Diffstat (limited to 'include/fileutils.h')
-rw-r--r--include/fileutils.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/fileutils.h b/include/fileutils.h
index d0d4505cd..99a71edbc 100644
--- a/include/fileutils.h
+++ b/include/fileutils.h
@@ -20,4 +20,6 @@ static inline FILE *xfmkstemp(char **tmpname, char *dir)
extern int get_fd_tabsize(void);
+extern int mkdir_p(const char *path, mode_t mode);
+
#endif /* UTIL_LINUX_FILEUTILS */