Creates a new directory with a specified mode
#include <stat.h>
int mkdir (
const char *path);
(IN) Points to the path containing the new directory (either relative to the current working directory or an absolute path name).
Returns a value of 0 if successful, nonzero otherwise.
mkdir also works on the DOS partition.
The current connection must have Create rights in the parent directory. The inherited rights mask for the new directory is ALL rights.
The SetCurrentNameSpace function sets the name space used for parsing the path input to mkdir.
For NetWare versions before 4.x, mkdir works with only the DOS name space for remote servers.