Sets an extended attribute of a file.
fn setxattr(path: &CStr, name: &CStr, val: &[u8], flags: i32) -> i32
| Name | Description |
|---|---|
| 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. |
Returns success or an error value.