Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Dec 2002 12:05:10 -0500 (EST)
From:      Garrett Wollman <wollman@lcs.mit.edu>
To:        David Malone <dwmalone@maths.tcd.ie>
Cc:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/usr.bin/unifdef unifdef.1
Message-ID:  <200212041705.gB4H5ATC048432@khavrinen.lcs.mit.edu>
In-Reply-To: <20021204150932.GA47420@walton.maths.tcd.ie>
References:  <200212041442.gB4EgnQL042381@repoman.freebsd.org> <20021204150932.GA47420@walton.maths.tcd.ie>

next in thread | previous in thread | raw e-mail | index | archive | help
<<On Wed, 4 Dec 2002 15:09:32 +0000, David Malone <dwmalone@maths.tcd.ie> said:

> I always though it was the NULL pointer, but the nul character,
> as given in the ascii man page?

You've got that backwards: it's a (not the) null pointer, but the (one
and only) NUL character.  See ISO 9899 and ANSI X3.64.

However, the spelling of NUL (ASCII character zero) is too close to
the C macro NULL (which expands to a null pointer constant) and so we
do not normally use it.  The C Standard, which is character-set
independent, also does not use the ASCII name; C merely requires that
there be a character with value zero which can safely be used as a
string terminator, and likewise for wide characters.

-GAWollman


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




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