Method lrs::file::File::filename

Returns the path of the file that was used to open this file.

Syntax

impl File {
    fn filename(&self) -> Result<CString<Libc>, Errno>
}

Remarks

The /proc filesystem must be mounted for this operation.

See also