Re: RFC: booleans and the kernel

Arnaldo Carvalho de Melo (acme@conectiva.com.br)
Thu, 24 Jan 2002 17:34:37 -0200


Em Thu, Jan 24, 2002 at 11:28:46AM -0800, H. Peter Anvin escreveu:
> Noone is actually meant to use _Bool, except perhaps in header files.
>
> #include <stdbool.h>

perhaps we don't need another header, adding this instead to types.h.

> ... then use "bool", "true", "false".
>
> This is fine with me as long our version of stdbool.h contain the
> appropriate ifdefs.

- Arnaldo
-
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/