[][src]Function linux::syscall::fgetxattr

pub fn fgetxattr(fd: c_int, name: KStr, val: &mut [d8]) -> ssize_t

Retrieves an extended attribute of a file descriptor.

[argument, fd] The file descriptor.

[argument, name] The name of the attribute.

[argument, val] The buffer in which the value will be placed.

[return_value] Returns the size of the value or an error value.

= See also

  • link:man:fgetxattr(2)