Pipe.adoptWrite

int adoptWrite(ref EventLoop loop, Handle writeEnd) @trusted

Adopt the write end of a pipe.

Parameters

loopEvent loop to register with.
writeEndFile descriptor for the write end.

Returns

0 on success, or -1 with errno set.