EAGAIN and EWOULDBLOCK
Pick one and stick with it. Seems that musl and glibc define EWOULDBLOCK as an alias for EAGAIN, so probably EAGAIN. The kernel uses a mix right now. I suspect EWOULDBLOCK is more socket oriented.
Pick one and stick with it. Seems that musl and glibc define EWOULDBLOCK as an alias for EAGAIN, so probably EAGAIN. The kernel uses a mix right now. I suspect EWOULDBLOCK is more socket oriented.