Contents

Adopting Swift File Options

Migrate existing C code to Swift, using the file-operation options provided by the System module.

Overview

The C options for how to open a file map to Swift as follows:

The C constants for specifying options when opening a file map to Swift as follows:

The C constants for specify seek offsets map to Swift as follows:

See Also

Adopting System