Re: RFC: booleans and the kernel

From: Alexander Viro (viro@math.psu.edu)
Date: Fri Jan 25 2002 - 02:48:37 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/



This archive was generated by hypermail 2b29 : Thu Jan 31 2002 - 21:00:29 EST