Retrieves all extended attribute of a file.
fn listxattr(path: &CStr, list: &mut [u8]) -> i64
The path of the file.
The buffer in which the attributes will be placed.
Returns the size of all attributes or an error value.
listxattr(2)