Creates a directory. Format #include <stat.h> int mkdir (const char *dir_spec, mode_t mode); (ISO POSIX-1) int mkdir (const char *dir_spec, mode_t mode, . . . ); (DEC C Extension)