donotturnoff / aerend

My third year project
0 stars 0 forks source link

Handle error cases by errno better #148

Open donotturnoff opened 2 years ago

donotturnoff commented 2 years ago

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).