fs_make_dir

int fs_make_dir(const char *path)

Creates a directory if it doesn’t exist.

The parent directory must exist as it will not be created recursively.

if (!fs_make_dir("foo"))
{
    printf("fs_make_dir failed");
}

Parameters

path[in] Some null-terminated path

Returns

If the directory was created.