|
||
int mkdir ( char *dirname )
char *dirname; // new directory name
|
|
Synopsis |
#include "silver.h"
The mkdir function creates a new directory with the specified dirname . Only one directory may be created at a time, so if the dirname contains path component, all but the last one must already exist.
|
Parameters |
dirname is a null-terminated string containing the new directory name.
|
Return Value |
mkdir returns 0 if successful; and otherwise EOF (-1).
|
See Also |
|
|