Function lrs::syscall::lsetxattr

Sets an extended attribute of a file without following symlinks.

Syntax

fn lsetxattr(path: &CStr, name: &CStr, val: &[u8], flags: i32) -> i32

Arguments

NameDescription
path

The path of the file.

name

The name of the attribute.

val

The value of the attribute.

flags

The flags used while setting the attribute.

Return value

Returns success or an error value.

See also