I'm probably not understanding something here but why can't you
just test for __SEOF in fp->_flags when __srefill() returns non-zero
and treat the absence of __SEOF as an error?

 - todd

Reply via email to