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