Instance Propertymadmachineio.swiftio 0.1.0SwiftIO
rawValue
FileDescriptor.swift:514var rawValue: UInt8
var rawValue: UInt8
s7SwiftIO14FileDescriptorV10AccessModeV8rawValues5UInt8Vvp
What are these?3WCX9
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.
@frozen struct UInt8
An 8-bit unsigned integer value type.
init(rawValue: UInt8)
static var readOnly: AccessMode { get }
Opens the file for reading only.
static var readWrite: AccessMode { get }
Opens the file for reading and writing.
static var writeOnly: AccessMode { get }
Opens the file for writing only.