description
TypeScriptgetDescription($self: FileDescriptor_AccessMode): stringSwift declarationvar description: String { get }A textual representation of the access mode.
struct · iOS 14.0+ · SDK 27.1
@frozen struct AccessModeThe desired read and write access for a newly opened file.
getDescription($self: FileDescriptor_AccessMode): stringSwift declarationvar description: String { get }A textual representation of the access mode.
getDebugDescription($self: FileDescriptor_AccessMode): stringSwift declarationvar debugDescription: String { get }A textual representation of the access mode, suitable for debugging
init(rawValue: number): FileDescriptor_AccessModeSwift declarationinit(rawValue: CInt)Creates a strongly-typed access mode from a raw C access mode.
getRawValue($self: FileDescriptor_AccessMode): numberSwift declarationvar rawValue: CIntThe raw C access mode.
setRawValue($self: FileDescriptor_AccessMode, value: number): voidSwift declarationvar rawValue: CIntThe raw C access mode.
get readOnly(): FileDescriptor_AccessModeSwift declarationstatic var readOnly: FileDescriptor.AccessMode { get }Opens the file for reading only. The corresponding C constant is `O_RDONLY`.
get readWrite(): FileDescriptor_AccessModeSwift declarationstatic var readWrite: FileDescriptor.AccessMode { get }Opens the file for reading and writing. The corresponding C constant is `O_RDWR`.
get writeOnly(): FileDescriptor_AccessModeSwift declarationstatic var writeOnly: FileDescriptor.AccessMode { get }Opens the file for writing only. The corresponding C constant is `O_WRONLY`.
No declarations were skipped in this snapshot.