Creates a directory.
fn create_dir<P>(path: P, mode: Mode) -> Result<(), Errno>
where P: ToCString,| Name | Description |
|---|---|
| path | The path of the new directory. |
| mode | The mode of the new directory. |
If the path is relative, it will be interpreted relative to the current working directory.