Re: RFC: booleans and the kernel

Alexander Viro (viro@math.psu.edu)
Fri, 25 Jan 2002 02:48:37 -0500 (EST)


On Sat, 26 Jan 2002, Timothy Covell wrote:

> > > le sam 26-01-2002 à 00:09, Timothy Covell a écrit :
> > > > char x;
> > > >
> > > > if ( x )
> > > > {
> > > > printf ("\n We got here\n");
> > > > }
> > > > else
> > > > {
> > > > // We never get here
> > > > printf ("\n We never got here\n");
> > > > }
> > > > exit (0);

> I realize that '\0' is a legit character.

Then I am at loss - WTF did you mean in the code (and comments) above?

Seriously, learn C. The fact that you don't understand it is _your_
problem - l-k is not a place to teach you the langauge.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/