FileOptions struct
How to open a file, on every platform alike.
On this page
- Use
import ThinkMeta.ConcurrentTasks.Platform.FileOptions;- Namespace
ThinkMeta::ConcurrentTasks::Platform- Platforms
- Windows, Linux
Syntax
struct FileOptionsFields
access
creation
What happens when the file exists, or does not.
Syntax
FileCreation creation = FileCreation::OpenExisting;unbuffered
Past the system's cache (FILE_FLAG_NO_BUFFERING, O_DIRECT): buffers, offsets and lengths must then be multiples of the sector size.
Syntax
bool unbuffered = false;Generated from ThinkMeta.ConcurrentTasks.API @ da816bc (2026-11-06).