xt_rmkdir(3)

NAME
xt_rmkdir() - Recursively create directories

LIBRARY
#include <xtend/file.h>
-lxtend

SYNOPSIS
int     xt_rmkdir(const char *path, mode_t mode)

ARGUMENTS
path:   Absolute or relative pathname of the directory to create
mode:   Permissions and other bits passed to mkdir(2)

DESCRIPTION
xt_rmkdir() recursively creates a directory from within a compiled program in the same way as "mkdir -r" from shell.

RETURN VALUES
0 on success, -1 on failure

SEE ALSO
mkdir(1), mkdir(2)