GW> Write and post a snippet of string handling code
GW> that clearly shows the superiority of the above to a
GW> simple *l='\0'. Other than hiding sloppy string '\0'
GW> terminating logic.
Before anyone gets too far into this, I just want to point out to observers
that this ONLY DEALS WITH C-style STRINGS, not buffers. That is, if you are
to do binary data, memset'ing to all 0 may be beneficial.
(I find that sometimes these long arguments that get nowhere also lose focus,
and don't want any newbies to misunderstand the argument.)
---
---------------
* Origin: Tanktalus' Tower BBS (1:250/102)
|