[][src]Function linux::syscall::fstatat

pub fn fstatat(
    dir: c_int,
    file: KStr,
    buf: &mut StatType,
    flags: c_int
) -> c_int

Retrieves information about a file relative to a file descriptor.

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

[argument, file] The path of the file.

[argument, buf] Where the information will be stored.

[argument, flags] Flags to use while retrieving the information.

[return_value] Returns success or an error value.

= See also

  • link:man:fstatat(2)