SwiftstructlibswiftSystem
struct System.FileDescriptor
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- protocolSwift.Decodable
- protocolSwift.Encodable
- protocolSwift.Equatable
- protocolSwift.Hashable
- protocolSwift.RawRepresentable
Members 17
- func
static _open(_: UnsafePointer<Int8>, _: System.FileDescriptor.AccessMode, options: System.FileDescriptor.OpenOptions, permissions: System.FilePermissions?, retryOnInterrupt: Bool) -> Result<System.FileDescriptor, System.Errno> - func
static _pipe(options: Int32) -> Result<(readEnd: System.FileDescriptor, writeEnd: System.FileDescriptor), System.Errno> - func
static _pipe() -> Result<(readEnd: System.FileDescriptor, writeEnd: System.FileDescriptor), System.Errno> - field
let rawValue: Int32+0x0 - func
_close() -> Result<(), System.Errno> - func
_duplicate(as: System.FileDescriptor?, retryOnInterrupt: Bool) throws -> Result<System.FileDescriptor, System.Errno> - func
_duplicate(as: System.FileDescriptor, options: Int32, retryOnInterrupt: Bool) -> Result<System.FileDescriptor, System.Errno> - func
_read(fromAbsoluteOffset: Int64, into: UnsafeMutableRawBufferPointer, retryOnInterrupt: Bool) -> Result<Int, System.Errno> - func
_read(into: UnsafeMutableRawBufferPointer, retryOnInterrupt: Bool) throws -> Result<Int, System.Errno> - func
_resize(to: Int64, retryOnInterrupt: Bool) -> Result<(), System.Errno> - func
_seek(offset: Int64, from: System.FileDescriptor.SeekOrigin) -> Result<Int64, System.Errno> - func
_write(toAbsoluteOffset: Int64, _: UnsafeRawBufferPointer, retryOnInterrupt: Bool) -> Result<Int, System.Errno> - func
_write(_: UnsafeRawBufferPointer, retryOnInterrupt: Bool) -> Result<Int, System.Errno> - func
_writeAll<A where A: Sequence, A.Element == UInt8>(toAbsoluteOffset: Int64, _: A) -> Result<Int, System.Errno> - func
_writeAll<A where A: Sequence, A.Element == UInt8>(A) -> Result<Int, System.Errno> - func
closeAfter<A>(() throws -> A) throws -> A - typealias
typealias RawValue = Swift.Int32
Header
struct FileDescriptor { struct AccessMode { var rawValue: Swift.Int32 var debugDescription: Swift.String { get } var description: Swift.String { get } } struct OpenOptions { var rawValue: Swift.Int32 var debugDescription: Swift.String { get } var description: Swift.String { get } } struct PipeOptions { var rawValue: Swift.Int32 } struct DuplicateOptions { var rawValue: Swift.Int32 } struct SeekOrigin { var rawValue: Swift.Int32 var debugDescription: Swift.String { get } var description: Swift.String { get } } let rawValue: Swift.Int32 func _duplicate(as: System.FileDescriptor?, retryOnInterrupt: Swift.Bool) throws -> Swift.Result<System.FileDescriptor, System.Errno> func _duplicate(as: System.FileDescriptor, options: Swift.Int32, retryOnInterrupt: Swift.Bool) -> Swift.Result<System.FileDescriptor, System.Errno> func closeAfter<A>(_: () throws -> A) throws -> A func _read(fromAbsoluteOffset: Swift.Int64, into: Swift.UnsafeMutableRawBufferPointer, retryOnInterrupt: Swift.Bool) -> Swift.Result<Swift.Int, System.Errno> func _read(into: Swift.UnsafeMutableRawBufferPointer, retryOnInterrupt: Swift.Bool) throws -> Swift.Result<Swift.Int, System.Errno> func _seek(offset: Swift.Int64, from: System.FileDescriptor.SeekOrigin) -> Swift.Result<Swift.Int64, System.Errno> func _close() -> Swift.Result<(), System.Errno> func _write(toAbsoluteOffset: Swift.Int64, _: Swift.UnsafeRawBufferPointer, retryOnInterrupt: Swift.Bool) -> Swift.Result<Swift.Int, System.Errno> func _write(_: Swift.UnsafeRawBufferPointer, retryOnInterrupt: Swift.Bool) -> Swift.Result<Swift.Int, System.Errno> func _resize(to: Swift.Int64, retryOnInterrupt: Swift.Bool) -> Swift.Result<(), System.Errno> func _writeAll<A>(toAbsoluteOffset: Swift.Int64, _: A) -> Swift.Result<Swift.Int, System.Errno> where A: Swift.Sequence, A.Element == Swift.UInt8 func _writeAll<A>(_: A) -> Swift.Result<Swift.Int, System.Errno> where A: Swift.Sequence, A.Element == Swift.UInt8 static func _open(_: Swift.UnsafePointer<Swift.Int8>, _: System.FileDescriptor.AccessMode, options: System.FileDescriptor.OpenOptions, permissions: System.FilePermissions?, retryOnInterrupt: Swift.Bool) -> Swift.Result<System.FileDescriptor, System.Errno> static func _pipe(options: Swift.Int32) -> Swift.Result<(readEnd: System.FileDescriptor, writeEnd: System.FileDescriptor), System.Errno> static func _pipe() -> Swift.Result<(readEnd: System.FileDescriptor, writeEnd: System.FileDescriptor), System.Errno> }