> >    * Throughout: libdlpi does not use `errno' for errors.  All of the
 > >      dlpi-related log messages in this file are busted.
 > [...]
 > 
 > The return section section of dlpi_recv(3DLPI) says:
 > 
 >      Upon success, DLPI_SUCCESS  is  returned.  If  DL_SYSERR  is
 >      returned,  errno  contains  the  specific  UNIX system error
 >      value. Otherwise, a DLPI error value defined in <sys/dlpi.h>
 >      or  an  error  value  listed  in  the  following  section is
 >      returned.
 > 
 > Our code is busted with respect to the two level error codes.  But in
 > contradiction with your statement this does say that at least dlpi_recv
 > could return an error via errno.

Yes, it is possible libdlpi will set `errno' in some cases.  My primary
point was that the code is broken -- and it is.

-- 
meem
_______________________________________________
networking-discuss mailing list
[email protected]

Reply via email to