Retrieves an extended attribute of a file.
fn getxattr(path: &CStr, name: &CStr, val: &mut [u8]) -> i64
| Name | Description |
|---|---|
| path | The path of the file. |
| name | The name of the attribute. |
| val | The buffer in which the value will be placed. |
Returns the size of the value or an error value.