Retrieves an extended attribute of a file descriptor.
fn fgetxattr(fd: i32, name: &CStr, val: &mut [u8]) -> i64
| Name | Description |
|---|---|
| fd | The file descriptor. |
| 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.