apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stas Bekman <s...@stason.org>
Subject Re: [PATCH] apr_{file,network}_io.h doxygen data
Date Fri, 02 Jan 2004 23:56:27 GMT
Cliff Woolley wrote:
> On Wed, 31 Dec 2003, Stas Bekman wrote:
> 
> 
>>>- * @remark The buffer will be '\0'-terminated if any characters are stored.
>>>+ * @remark The buffer will be '\\0'-terminated if any characters are
>>>stored.
>>
>>Can't this be worked around in some other way? People reading raw .h files may
>>get confused with '\\0'. And I won't be surprised if someone will try to 'fix'
>>that as a typo later on.
> 
> 
> How about just saying "The buffer will be NULL-terminated...".  I think we
> all know what that means.

+1

Though I think it should be NUL-terminated, since NULL stands for a 0 pointer, 
not '\0'.

__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com


Mime
View raw message