[−][src]Function linux::syscall::setxattr
pub fn setxattr(path: KStr, name: KStr, val: &[d8], flags: c_int) -> c_int
Sets an extended attribute of a file.
[argument, path] The path of the file.
[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:setxattr(2)