Creates a file relative to a directory.
fn mknodat(dir: i32, path: &CStr, mode: u16, dev: u32) -> i32
| Name | Description |
|---|---|
| dir | The directory relative to which relative paths are interpreted. |
| path | The path of the new file. |
| mode | The mode of a new file. |
| dev | The device type of a new device. |
Returns success or an error value.