[][src]Function linux::syscall::fsetxattr

pub fn fsetxattr(fd: c_int, name: KStr, val: &[d8], flags: c_int) -> c_int

Sets an extended attribute of a file descriptor.

[argument, fd] The file descriptor.

[argument, name] The name of the attribute.

[argument, val] The value of the attribute.

[argument, flags] The flags used while setting the attribute.

[return_value] Returns success or an error value.

= See also

  • link:man:fsetxattr(2)