Mwnci mkdirhier() Function

Syntax

mkdirhier(directory)

Description

The mkdirhier() function creates a directory named path, along with any necessary parents.. The permission bits perm (before umask) are used for all directories that mkdirhier() creates. If path is already a directory, mkdirhier() does nothing and returns NULL.

Example

mkdirhier("/full/path/to/a/new/directory")