diff recpt1/mkpath.h @ 61:f1553492e8bb

ensure path of destination file exists. imported Jonathan Leffler's mkpath.
author Yoshiki Yazawa <yaz@honeyplanet.jp>
date Fri, 09 Oct 2009 11:04:36 +0900
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/recpt1/mkpath.h	Fri Oct 09 11:04:36 2009 +0900
@@ -0,0 +1,6 @@
+#ifndef _MKPATH_H_
+#define _MKPATH_H_
+
+int mkpath(const char *path, mode_t mode);
+
+#endif