Creates a directory.
bool CreateDirectory(const char path, int mode, bool use_valve_fs, const char valve_path_id)
Path to create.
Permissions (default is o=rx,g=rx,u=rwx). Note that folders must have the execute bit set on Linux. On Windows, the mode is ignored.
If true, the Valve file system will be used instead. This can be used to create folders in the game's Valve search paths, rather than directly in the gamedir.
If use_valve_fs, a search path from gameinfo or NULL_STRING for default. In this case, mode is ignored.