cctools
Functions
create_dir.h File Reference

Create a new directory recursively. More...

Go to the source code of this file.

Functions

int create_dir (const char *path, int mode)
 Create a new directory recursively. More...
 

Detailed Description

Create a new directory recursively.

Function Documentation

int create_dir ( const char *  path,
int  mode 
)

Create a new directory recursively.

Parameters
pathThe full path of a directory. It is not necessary for all components of the path to exist.
modeThe desired unix mode bits of the directory.
Returns
One on success, zero on failure.