Creates a device special file.
fn create_device<P>(path: P, dev: Device, mode: Mode) -> Result<(), Errno>
where P: ToCString,| Name | Description |
|---|---|
| path | The path at which the file will be created. |
| dev | The device special file to create. |
| mode | The mode of the new file. |
If the path is relative, it will be interpreted relative to the current working directory.