[][src]Function linux::syscall::fchmod

pub fn fchmod(fd: c_int, mode: umode_t) -> c_int

Changes the mode of an inode represented by a file descriptor.

[argument, fd] An open file descriptor referring to an inode.

[argument, mode] The new mode of the inode.

[return_value] Returns success or an error value.

= See also

  • link:man:fchmod(2)