Enumeration

DispatchIO.StreamType

The semantics for accessing the contents of a file descriptor.

Declaration

enum StreamType : UInt

Topics

Stream Types

case stream

Access content sequentially, in a stream.

case random

Access content randomly.

Operator Functions

static func != (DispatchIO.StreamType, DispatchIO.StreamType) -> Bool

Returns a Boolean value indicating whether two values are not equal.

See Also

Creating a Dispatch I/O Object

init?(type: DispatchIO.StreamType, path: UnsafePointer<Int8>, oflag: Int32, mode: mode_t, queue: DispatchQueue, cleanupHandler: (Int32) -> Void)

Creates a new I/O channel that accesses the file at the specified path, potentially creating that file in the process.