From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: To: 9fans@cse.psu.edu Subject: Re: Error reporting (Was: [9fans] GNU Make) Date: Thu, 3 Jun 2004 21:06:18 +0100 From: rog@vitanuova.com In-Reply-To: <005901c449a3$71ff2520$637f7d50@SOMA> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Topicbox-Message-UUID: 9492f260-eacd-11e9-9e20-41e7f4b1d025 > > so EINVAL and EIO are definitely up there. > > former yes, but it means BUGGERED. nope, it means all sorts of things, as documented in the man pages (but not expressed in the errno). that's precisely where the open-ended plan 9 scheme wins out, and why it was so annoying developing in a unix environment where all the info you got when you did something wrong was "invalid argument" without any indication as to what you'd done wrong. this applied particularly to the sockets stuff. i can't believe that dross is still around.