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