Function lrs::syscall::listxattr

Retrieves all extended attribute of a file.

Syntax

fn listxattr(path: &CStr, list: &mut [u8]) -> i64

Arguments

NameDescription
path

The path of the file.

list

The buffer in which the attributes will be placed.

Return value

Returns the size of all attributes or an error value.

See also