pipe()
Creates a unidirectional data channel, which can be used for interprocess communication.
Declaration
static func pipe() throws -> (readEnd: FileDescriptor, writeEnd: FileDescriptor)Return Value
The pair of file descriptors.
Discussion
The corresponding C function is pipe.