Y
Hacker News
new
|
ask
|
show
|
jobs
by
loeg
2229 days ago
Well, or EINTR if your signal handlers are not SA_RESTART.
1 comments
jra_samba
2229 days ago
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.
link
loeg
2229 days ago
Sure, I was imprecise. A signal can cause a read to return a short result.
link
We handle signals fine.