Re: RFC: booleans and the kernel

Xavier Bestel
2002-01-24T23:30:43Z

le sam 26-01-2002 à 00:09, Timothy Covell a écrit :
> #include <stdio.h>
>
> int main()
> {
> char x;
>
> if ( x )
> {
> printf ("\n We got here\n");
> }
> else
> {
> // We never get here
> printf ("\n We never got here\n");
> }
> exit (0);
> }
> covell@xxxxxx ~>gcc -Wall foo.c
> foo.c: In function `main':
> foo.c:17: warning: implicit declaration of function `exit'

I'm lost. What do you want to prove ? (Al Viro would say you just want
to show you don't know C ;)
And why do you think you never get there ?

Xav