Retrieves the file status flags and access mode.
impl File {
fn get_status_flags(&self) -> Result<FileFlags, Errno>
}Returns the status flags and access mode.
The status flags and access mode are part of the file description, not the file descriptor. The status flags are
bypass buffer
access time update
append
signal io
data synchronized
non blocking
synchronized
path fd
The access mode are
readable
writable
The status of the other flags in unspecified.
fcntl(2) and the description of F_GETFL therein.