[][src]Function linux::syscall::getxattr

pub fn getxattr(path: KStr, name: KStr, val: &mut [d8]) -> ssize_t

Retrieves an extended attribute of a file.

[argument, path] The path of the file.

[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:getxattr(2)