Gets an attribute of this file.
impl File {
fn get_attr_buf<S>(&self, name: S, val: &mut [u8]) -> Result<usize, Errno>
where S: ToCString,
}| Name | Description |
|---|---|
| name | The name of the attribute. |
| val | The buffer in which the attribute will be stored. |
Returns the size of the attribute placed in the buffer.