From owner-freebsd-arch Wed Aug 21 0:12: 6 2002 Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F25C537B400 for ; Wed, 21 Aug 2002 00:12:03 -0700 (PDT) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id B6E2D43E3B for ; Wed, 21 Aug 2002 00:12:03 -0700 (PDT) (envelope-from baka@elvis.mu.org) Received: by elvis.mu.org (Postfix, from userid 1921) id 85592AE027; Wed, 21 Aug 2002 00:12:03 -0700 (PDT) Date: Wed, 21 Aug 2002 00:12:03 -0700 From: Jon Mini To: "M. Warner Losh" Cc: archie@dellroad.org, freebsd-arch@FreeBSD.ORG Subject: Re: NULL Message-ID: <20020821071203.GL3751@elvis.mu.org> References: <20020821012849.GK3751@elvis.mu.org> <200208210140.g7L1eCJ03992@arch20m.dellroad.org> <20020821.003112.86889670.imp@bsdimp.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020821.003112.86889670.imp@bsdimp.com> User-Agent: Mutt/1.3.27i Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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 http://www.freebsd.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message