Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Aug 2002 00:12:03 -0700
From:      Jon Mini <mini@freebsd.org>
To:        "M. Warner Losh" <imp@bsdimp.com>
Cc:        archie@dellroad.org, freebsd-arch@FreeBSD.ORG
Subject:   Re: NULL
Message-ID:  <20020821071203.GL3751@elvis.mu.org>
In-Reply-To: <20020821.003112.86889670.imp@bsdimp.com>
References:  <20020821012849.GK3751@elvis.mu.org> <200208210140.g7L1eCJ03992@arch20m.dellroad.org> <20020821.003112.86889670.imp@bsdimp.com>

next in thread | previous in thread | raw e-mail | index | archive | help
M. Warner Losh [imp@bsdimp.com] wrote :

> From the C-99 draft standard:
> 
> 6.3.2.1 #3:
>        [#3] An integer constant expression with  the  value  0,  or
>        such  an  expression  cast  to type void *, is called a null
>        pointer constant.46)  If a null pointer constant is assigned
>        to or compared for equality to a pointer,  the  constant  is
>        converted to a pointer of that type.  Such a pointer, called
>        a null pointer,  is  guaranteed  to  compare  unequal  to  a
>        pointer to any object or function.

I stand corrected. 

-- 
Jonathan Mini <mini@freebsd.org>
http://www.freebsd.org/

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-arch" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020821071203.GL3751>