Posted Jul 30, 2009 10:44 UTC (Thu) by djm (subscriber, #11651)
Parent article: A tempest in a tty pot
FWIW Cox is completely correct: a user program must be prepared to cope with short reads and EAGAIN at all times, especially around process exit where delivery of SIGCHLD is highly likely to interrupt pending reads.