[OCLUG-devel] Initializing Strings

Doug Jolley ddjolley at gmail.com
Thu Sep 8 14:17:11 PDT 2005


Thanks for the input, Michael. Your analysis seems to be right on target.

My misunderstanding of this could have caused me a lot of trouble. 
Fortunately, I was saved by the fact that it seems that sprintf also 
automatically appends a terminating null character. In fact, it appears that 
sprintf fills any unassigned trailing character bytes with terminating null 
characters. So, it all worked out for me despite my ignorance.

Thanks for the help.

... doug
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://localhost.localdomain/pipermail/oclug-devel/attachments/20050908/857df0d2/attachment.html 


More information about the OCLUG-devel mailing list