Function lrs::file::list_attr_size_no_follow

Retrieves the buffer size required for all attributes in a file without following symbolic links.

Syntax

fn list_attr_size_no_follow<P>(path: P) -> Result<usize, Errno>
    where P: ToCString,

Arguments

NameDescription
path

The path of the file whose attributes we're interested in.

Return value

Returns the number of bytes required.

Remarks

If the path refers to a symbolic link, the required buffer size for the link will be retrieved.

If the path is relative, it will be interpreted relative to the current working directory.

See also