Constant lrs::file::flags::FILE_READ_ONLY

Open the file in read-only mode.

Syntax

const FILE_READ_ONLY: FileFlags = FileFlags(O_RDONLY);

Remarks

This flag cannot be combined with FILE_WRITE_ONLY to open a file for reading and writing. Use FILE_READ_WRITE instead.

See also