Utility Functions and C Language Reference > C Language Reference > Alphabetical List of Functions > mkdir

mkdir

Example: mkdir File Manipulation Functions

Creates a directory using the given path name.

int mkdir( const char *path);

path The path and directory name to create.

For mkdir details, refer to your C language documentation.

Return Values

This function returns zero upon success and (-1) for failure.