Open a handle to the file at the given position.

Synopsis

Declared in <flatfile.h>

FILE*
Open(
    FlatFilePos const& pos,
    bool read_only = false) const;

Return Value

An open FILE handle, or nullptr on failure.

Parameters

Name

Description

pos

The position to seek the returned handle to.

read_only

Whether to open the file for reading only.

Created with MrDocs