[][src]Function linux::syscall::mknodat

pub fn mknodat(dir: c_int, path: KStr, mode: umode_t, dev: dev_t) -> c_int

Creates a file relative to a directory.

[argument, dir] The directory relative to which relative paths are interpreted.

[argument, path] The path of the new file.

[argument, mode] The mode of a new file.

[argument, dev] The device type of a new device.

[return_value] Returns success or an error value.

= See also

  • link:man:mknodat(2)