Add recursive mkpath() and makepath(), works like mkdir -p

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
Joachim Nilsson committed 2015-07-09 01:25:19 +02:00
1 parent c5366a33da
commit 1561e7567e
4 files changed
+132 -1

No files matched your search

+3
View File
@@ -45,6 +45,9 @@ int movefile (char *src, char *dst);
int fcopyfile (FILE *src, FILE *dst);
size_t fsendfile (FILE *src, FILE *dst, size_t len);
int mkpath (char *dir, mode_t mode);
int makepath (char *dir);
int dir (const char *dir, const char *type, int (*filter) (const char *file), char ***list, int strip);
int rsync (char *src, char *dst, int delete, int (*filter) (const char *file));