createPipe

fnPipePair createPipe() @trusted nothrow @nogc

Create an anonymous pipe pair.

Creates both the read and write ends of a new anonymous pipe. The pipe is configured for non-blocking I/O.

Returns

A PipePair with valid handles on success, or invalid handles on failure.