Messages in this thread | | | From | Herbert Xu <> | Subject | Re: [PATCH] 2.4.22pre10: {,un}likely_p() macros for pointers | Date | Sat, 09 Aug 2003 20:10:38 +1000 |
| |
David S. Miller <davem@redhat.com> wrote: > > I believe the C language allows for systems where the NULL pointer is > not zero.
It does. However it also says that whenever a pointer is compared with the integer constant 0 it must be equal if and only if it is a NULL pointer.
An integer constant expression with the value 0, or such an expression cast to type void *, is called a null pointer constant. -- Debian GNU/Linux 3.0 is out! ( http://www.debian.org/ ) Email: Herbert Xu ~{PmV>HI~} <herbert@gondor.apana.org.au> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt - 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/
| |