createPipe

fnPipePair createPipe() @trusted nothrow

Create an anonymous pipe pair.

Creates a unidirectional pipe where data written to the write end can be read from the read end.

Returns

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

Create an anonymous pipe pair with overlapped I/O support.

Creates a unidirectional pipe where data written to the write end can be read from the read end. Both ends support overlapped I/O for integration with IOCP.

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