From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lucio De Re To: 9fans@cse.psu.edu Subject: Re: [9fans] /sys/include/ape/errno.h Message-ID: <20040106192401.A5956@cackle.proxima.alt.za> References: <20040106150347.P28128@cackle.proxima.alt.za> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: ; from Russ Cox on Tue, Jan 06, 2004 at 08:25:42AM -0500 Date: Tue, 6 Jan 2004 19:24:01 +0200 Topicbox-Message-UUID: b39cb48a-eacc-11e9-9e20-41e7f4b1d025 On Tue, Jan 06, 2004 at 08:25:42AM -0500, Russ Cox wrote: > > down that path lies madness. use the names, that's what they're for. > the numbers aren't supposed to matter! > I was looking for a standard definition, so that I could address: #define EPROTONOSUPPORT 37 #define EPROTOTYPE 37 as found in /sys/include/ape/errno.h, which broke a module construct. I wasn't suggesting that I wanted to use the numeric values instead. I'm not sure how I want to solve the original problem, given that Charles pointed out a similar duplication in Linux, was it? #define EWOULDBLOCK EAGAIN or some such, from memory. ++L