Function lrs::syscall::fsetxattr

Sets an extended attribute of a file descriptor.

Syntax

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

Arguments

NameDescription
fd

The file descriptor.

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