[TAG] Compliments to you all.

Ben Okopnik ben at callahans.org
Wed Jun 9 22:18:10 MSD 2004


On Wed, Jun 09, 2004 at 02:04:37PM -0400, Ben Okopnik wrote:
>  
> What if the string length _is_ equal to SIZE? Or, if it's not, what if
> the length really matters in some further calculations? In the first
> case, you'd lose content. In the second case, you've just made the
> length of "buf1" 99 no matter what

This is, of course, assuming that there's no NUL already terminating it.


* Ben Okopnik * okopnik.freeshell.org * Editor-in-Chief, Linux Gazette *
-*- See the Linux Gazette in its new home: <http://linuxgazette.net> -*-




More information about the TAG mailing list