Subject: Re: CVS commit: src/lib/libc/string
To: None <>
From: Joerg Sonnenberger <>
List: tech-userlevel
Date: 10/16/2006 13:59:34
On Mon, Oct 16, 2006 at 11:34:52AM +0100, Ben Harris wrote:
> I think in the context of the C language, the most correct terminology
> would be "null character" and "null-terminate".  "NUL" should strictly
> only be used when referring to the character as part of the content of a
> string, rather than as a terminator.  I think "nul" should be avoided 
> entirely.

I disagree as the difference is important and should not be mixed. "NUL"
is the character used as terminator and not a pointer. Mixing them
doesn't add any benefit. I should add that the term "nul-terminating" is
older than ISO C, most likely even older than I am...