Method lrs::file::File::get_status_flags

Retrieves the file status flags and access mode.

Syntax

impl File {
    fn get_status_flags(&self) -> Result<FileFlags, Errno>
}

Return value

Returns the status flags and access mode.

Remarks

The status flags and access mode are part of the file description, not the file descriptor. The status flags are

The access mode are

The status of the other flags in unspecified.

See also