0 on success, or -1 with error set.Adopt a pipe handle for writing.
On success, EVE takes ownership of the write handle and the caller must not close it. On failure, ownership remains with the caller.
loop | Event loop to register with. |
writeEnd | Pipe handle for writing. |
0 on success, or -1 with error set.