Guy Harris wrote:
> Sagun Shakya wrote: 
>   
>> DL_SYSERR.
>>     
> I.e., the libdlpi routines can return both DLPI_ and DL_ status values?
>
>   
As Seb clarified, if DL_SYSERR is returned, then errno contains the UNIX 
system error.

libdlpi routines can return error codes defined in <dlpi.h> and 
<libdlpi.h>.  Currently, libdlpi routines return DL_SYSERR in two scenarios:

- A DLPI stream receives a DL_ERROR_ACK with a UNIX system error code set.
-  A libdlpi routine encounters a system call error.

Sagun


Reply via email to