Function lrs::syscall::lgetxattr

Retrieves an extended attribute of a file without following symlinks.

Syntax

fn lgetxattr(path: &CStr, name: &CStr, val: &mut [u8]) -> i64

Arguments

NameDescription
path

The path of the file.

name

The name of the attribute.

val

The buffer in which the value will be placed.

Return value

Returns the size of the value or an error value.

See also