[comp.unix.questions] streams/TLI errors

ade@clark.edu (Adrian Miranda) (08/10/90)

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@clark.edu