[][src]Function linux::syscall::faccessat

pub fn faccessat(dir: c_int, file: KStr, mode: umode_t) -> c_int

Checks whether a file relative to a file descriptor can be accessed.

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

[argument, file] The path of the file.

[argument, mode] The mode to access the file with.

[return_value] Returns success or an error value.

= See also

  • link:man:faccessat(2)