view src/lib/mkdir-parents.h @ 6410:e4eb71ae8e96 HEAD

Changed .h ifdef/defines to use <NAME>_H format.
author Timo Sirainen <tss@iki.fi>
date Sun, 16 Sep 2007 11:31:27 +0300
parents 836c952e17ec
children b3efdd9dc293
line wrap: on
line source

#ifndef MKDIR_PARENTS_H
#define MKDIR_PARENTS_H

/* Create path and all the directories under it if needed.
   Returns 0 if ok, or if path already exists (not necessarily as directory). */
int mkdir_parents(const char *path, mode_t mode);

#endif