From owner-freebsd-current Fri May 21 2:17:24 1999 Delivered-To: freebsd-current@freebsd.org Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.26.10.9]) by hub.freebsd.org (Postfix) with ESMTP id B1C861596D; Fri, 21 May 1999 02:17:18 -0700 (PDT) (envelope-from bde@godzilla.zeta.org.au) Received: (from bde@localhost) by godzilla.zeta.org.au (8.8.7/8.8.7) id TAA09318; Fri, 21 May 1999 19:17:15 +1000 Date: Fri, 21 May 1999 19:17:15 +1000 From: Bruce Evans Message-Id: <199905210917.TAA09318@godzilla.zeta.org.au> To: bde@zeta.org.au, dfr@nlsystems.com Subject: Re: priorities Cc: current@FreeBSD.ORG, dfr@FreeBSD.ORG, hibma@skylink.it, nick.hibma@jrc.it, peter@netplex.com.au Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >> >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