Retrieves the buffer size required for all attributes in a file.
fn list_attr_size<P>(path: P) -> Result<usize, Errno>
where P: ToCString,| Name | Description |
|---|---|
| path | The path of the file whose attributes we're interested in. |
Returns the number of bytes required.
If the path refers to a symbolic link, the link will be recursively resolved and the required buffer size of the first non-link target will be retrieved.
If the path is relative, it will be interpreted relative to the current working directory.