Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

For EINTR it never returns a short read, as the only way to see EINTR is a return of -1 with errno==EINTR.

We handle signals fine.



Sure, I was imprecise. A signal can cause a read to return a short result.




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: