Re: [dev] Local vs global variables

From: Moritz Wilhelmy <crap_AT_wzff.de>
Date: Fri, 6 Nov 2009 21:31:37 +0100

On Fri, Nov 06, 2009 at 02:33:04PM -0500, Kris Maglione wrote:
> errno is evil. And on GNU bastard systems from hell, it's not even a
> variable, it's a macro to a dereferenced pointer returned from a
> function call to a thread local storage cell. Plan 9 doesn't even have
> errno, it has a syscall that returns the error string from the last
> system call.
>

it also is inconsitent: EADDRNOTAVAIL and E2BIG (seriously, why do they
use l33tspeak?)
Received on Fri Nov 06 2009 - 20:31:37 UTC

This archive was generated by hypermail 2.2.0 : Fri Nov 06 2009 - 20:36:02 UTC