On Fri, Apr 23, 2010 at 02:52:45PM -0400, Paul Janzen wrote:
> >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.

i know - many people have told me this. you probably have yourself ;(
but it always fails to register.

>   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.
> 

so, if anyone wants to send a diff that makes this clear, i'm willing to
read it...

jmc

Reply via email to