Re: close(2) return value handling
Matthias wrote: > Just curious why you never check the return value of the close(2) system > call for errors. It never fails in a way that matters. The program must be properly written for the fd to be alive, so EBADF doesn't occur. EINTR doesn't occur, and if it did, nowhere is it cleanly spe
close(2) return value handling
Hi. Just curious why you never check the return value of the close(2) system call for errors. Thanks.