There are some cases where a C library function indicates an error, but different error types warrant different handling, based on the value of errno. I have done this in some cases but there may be some which I haven't. Also, ensure that existing cases are handled correctly (e.g. EINTR in InputHandler).
There are some cases where a C library function indicates an error, but different error types warrant different handling, based on the value of errno. I have done this in some cases but there may be some which I haven't. Also, ensure that existing cases are handled correctly (e.g. EINTR in InputHandler).