streams/TLI errors

Adrian Miranda ade at clark.edu
Fri Aug 10 07:07:22 AEST 1990


Can anyone tell me what variables get set to what values when
t_listen(3N) receives an interrupt while listening for a connection?
When accept is interrupted by SIGHUP or SIGALRM it sets errno to
EINTR.  It appears that t_listen should set t_errno to TSYSERR and
errno to EINTR, but I can't seem to find confirmation in the manual.
Does anyone know if this is correct?

More general question: if t_errno is set to TSYSERR, will errno always
be set to actual error?

Might as well mail your response to me, I suspect this is a fairly
obvious question.

Adrian Miranda
uunet!clark!ade  or  ade at clark.edu



More information about the Comp.unix.questions mailing list