Sagun Shakya wrote:
> Guy Harris wrote:
>> Sagun Shakya wrote:
>>   
>>> Guy Harris wrote:
>>>     
>>>> Also, is there an error that means "there is such a device, but you 
>>>> don't have permission to open it"?
>>>>       
>>> In this case a DL_SYSERR is returned i.e EACCES ("Permission denied")
>>>     
>> DL_SYSERR or DLPI_SYSERR?
>>   
> DL_SYSERR.

Missing from this discussion, I think, is the fact that when DL_SYSERR is 
returned, errno is set to a valid UNIX errno.  In this case, DL_SYSERR 
would be returned and errno would be set to EACCESS.

-Seb

Reply via email to