Opens the file for reading only.
static var readOnly: AccessMode { get }
s7SwiftIO14FileDescriptorV10AccessModeV8readOnlyAEvpZ
5EELZ
import SwiftIO
The SwiftIO library allows you to access and control the hardware in an easy way.
struct AccessMode
The desired read and write access for a newly opened file.
struct FileDescriptor
The FileDescriptor struct is used to perform low-level file operations.
init(rawValue: UInt8)
static var readWrite: AccessMode { get }
Opens the file for reading and writing.
static var writeOnly: AccessMode { get }
Opens the file for writing only.
var rawValue: UInt8