Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 May 1999 19:17:15 +1000
From:      Bruce Evans <bde@zeta.org.au>
To:        bde@zeta.org.au, dfr@nlsystems.com
Cc:        current@FreeBSD.ORG, dfr@FreeBSD.ORG, hibma@skylink.it, nick.hibma@jrc.it, peter@netplex.com.au
Subject:   Re: priorities
Message-ID:  <199905210917.TAA09318@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
>> >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 majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199905210917.TAA09318>