Re: [patch 2.6.13-rc3] i386: clean up user_mode macros
From: randy_dunlap
Date: Mon Jul 25 2005 - 21:33:25 EST
On Mon, 25 Jul 2005 18:34:13 -0700 Andrew Morton wrote:
> Miles Bader <miles@xxxxxxxxxxxxx> wrote:
> >
> > Linus Torvalds <torvalds@xxxxxxxx> writes:
> > > Ask a hundred random C programmers what "!!x" means, versus what "x != 0"
> > > means, and time their replies.
> >
> > I've always thought of "!!" as the "canonicalize boolean" operator...
>
> Me too. Once you get used to it, it's just the "convert non-zero to 1"
> operator.
>
> But whatever.
I call it "truth value" (true or false), but once I got used to it,
I thought it was OK too.
---
~Randy
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/