0 on success, or -1 with errno set.Adopt the write end of a pipe.
Ownership transfer: on success, EVE takes ownership of writeEnd; the caller must not close it. On failure, ownership remains with the caller.
loop | Event loop to register with. |
writeEnd | File descriptor for the write end. |
0 on success, or -1 with errno set.