Makes fd a socket the engine can use: close-on-exec, no SIGPIPE, and non-blocking when the
backend wants readiness (epoll, kqueue). io_uring does its own waiting and wants sockets
that block.
prepare_socket :: (fd: s32, nonblocking: bool) -> s64
Parameters
- fd: s32
- nonblocking: bool
Returns
- s64