Module lrs::fd::flags

File description flags.

Constants

NameDescription
FD_ACCESS_MASK

Mask containing the access flags.

FD_APPEND

Perform all writes to the file at the end of the file.

FD_BYPASS_BUFFER

Bypass kernel buffers and write directly to the disk.

FD_DATA_SYNC

Ensure that enough data has been passed to the hardware after a write so that the data can be read back.

FD_DONT_BLOCK

Return an error instead of blocking.

FD_NONE

Dummy flag with all flags unset.

FD_NO_ACCESS_TIME_UPDATE

Don't update the access time of the file.

FD_PATH

The file description identifies a path in a filesystem.

FD_READ_ONLY

The file description is in read-only mode.

FD_READ_WRITE

The file description is open for reading and writing.

FD_SIGNAL_IO

Send a signal to the process when the file becomes ready for reading or writing.

FD_SYNC

Ensure that all data has been passed to the hardware after a write.

FD_WRITE_ONLY

The file description is in write-only mode.