Checks whether a file relative to a file descriptor can be accessed.
fn faccessat(dir: i32, file: &CStr, mode: u16) -> i32
| Name | Description |
|---|---|
| dir | The directory relative to which relative paths will be interpreted. |
| file | The path of the file. |
| mode | The mode to access the file with. |
Returns success or an error value.