From 61d75021c8a1180d2b591e70c783bd2eb21188bd Mon Sep 17 00:00:00 2001 From: Erik K Date: Thu, 26 May 2022 16:31:27 +0000 Subject: mkdir parent directories when needed, also fixed bug in list(). --- util.h | 1 + 1 file changed, 1 insertion(+) (limited to 'util.h') diff --git a/util.h b/util.h index e1e49e7..eb74034 100644 --- a/util.h +++ b/util.h @@ -6,4 +6,5 @@ FILE *xfopen(const char *, const char *); int xfputs(const char *, FILE *); void *xmalloc(size_t); void *xrealloc(void *, size_t); +int mkparentdirs(const char *); size_t my_strlcpy(char *, const char *, size_t); -- cgit v1.2.3