From owner-freebsd-current Fri May 21 2:34:16 1999 Delivered-To: freebsd-current@freebsd.org Received: from herring.nlsystems.com (nlsys.demon.co.uk [158.152.125.33]) by hub.freebsd.org (Postfix) with ESMTP id 96EC514BCD; Fri, 21 May 1999 02:34:11 -0700 (PDT) (envelope-from dfr@nlsystems.com) Received: from localhost (dfr@localhost) by herring.nlsystems.com (8.9.3/8.8.8) with ESMTP id KAA76722; Fri, 21 May 1999 10:35:39 +0100 (BST) (envelope-from dfr@nlsystems.com) Date: Fri, 21 May 1999 10:35:39 +0100 (BST) From: Doug Rabson To: Bruce Evans Cc: current@FreeBSD.ORG, dfr@FreeBSD.ORG, hibma@skylink.it, nick.hibma@jrc.it, peter@netplex.com.au Subject: Re: priorities In-Reply-To: <199905210917.TAA09318@godzilla.zeta.org.au> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, 21 May 1999, Bruce Evans wrote: > >> >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. What I meant was that they are not real error conditions and as such will not be returned from the device probe methods so there isn't a problem. -- Doug Rabson Mail: dfr@nlsystems.com Nonlinear Systems Ltd. Phone: +44 181 442 9037 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message