view recpt1/mkpath.h @ 106:12b9192becaa

avoid infinite loop. length in the first descriptor loop can be zero.
author Yoshiki Yazawa <yaz@honeyplanet.jp>
date Sat, 27 Feb 2010 04:10:16 +0900
parents f1553492e8bb
children
line wrap: on
line source

#ifndef _MKPATH_H_
#define _MKPATH_H_

int mkpath(const char *path, mode_t mode);

#endif