>> >They just are positive and have always been positive :-)
>> >
>> >Changing that (making errnos negative) would break so much code I don't
>> >even want to think about it.
>> 
>> >From errno.h:
>> 
>> #ifdef KERNEL
>> /* pseudo-errors returned inside kernel to modify return to process */
>> #define      ERESTART        (-1)            /* restart syscall */
>> #define      EJUSTRETURN     (-2)            /* don't modify regs, just 
>> return */
>> #define      ENOIOCTL        (-3)            /* ioctl not handled by this 
>> layer */
>> #endif
>
>They aren't real errnos, just signals to the kernel.

Same as all other error codes in the kernel.

Bruce


To Unsubscribe: send mail to majord...@freebsd.org
with "unsubscribe freebsd-current" in the body of the message

Reply via email to