Type MethodSystemPackage

    pipe()

    Create a pipe, a unidirectional data channel which can be used for interprocess communication.

    static func pipe() throws -> (readEnd: FileDescriptor, writeEnd: FileDescriptor)

    Returns

    The pair of file descriptors.

    Overview

    The corresponding C function is pipe.