On Fri, Apr 23, 2010 at 06:53:41PM +0200, Joachim Schipper wrote:
I noticed that vis(3) talks about "NUL terminated" strings, whereas
almost other sources (including e.g. strlcat(3), strtok(3), strpbrk(3))
talk about "NUL-terminated" strings (i.e. with a hyphen.)

The following patch fixes this.

                Joachim


quite a few pages talk about "nul terminate". let's try and be
consistent - if there's a good reason, we can change them all. is there
a good reason? i don;t know, because i always get lost on the idea of
nul and null ;(

As one person who might possibly care, barely:
  NUL is an ASCII character, '\0', used to indicate the end of a
standard C string.
  null is an English word, and a null pointer doesn't point to an ASCII
NUL.
  compound adjectives like "NUL terminated" get hyphenated before a
noun ("a NUL-terminated string") but not after a verb (e.g., "string foo
is NUL terminated"), according to at least many style guides.


Paul Janzen.

Reply via email to