Hi Kamesh,

On Thu, Jan 27, 2011 at 9:42 PM, Kamesh Jayachandran
<kamesh.jayachand...@gmail.com> wrote:
>>   /* Return the first eol marker found in [@a buf, @a endp) as a
>> - * NUL-terminated string, or NULL if no eol marker is found.
>>
>
> NUL is not a typo I guess, NUL means '\0', While NULL is (void *) 0x.

A NULL does mean '\0' or (void *) 0x. I also referred this -
http://en.wikipedia.org/wiki/Null_character which says the same when
referring to NULL termination of a string, except for one place where
it says 'NUL' is an abbreviation for NULL character -
http://en.wikipedia.org/wiki/NUL

With the above I think it does not matter if we say 'NUL' or 'NULL',
but since the change is already in, I will leave it like that.

Thank You.
-- 
Senthil Kumaran S
http://www.stylesen.org/
http://www.sasenthilkumaran.com/

Reply via email to