Hi
I use sprintf and see effects I do not understand. Quite often, the string returned from sprintf is "contaminated" in that it starts with an extra character - always a coma [,]. The rest of the string seems to be ok.

It does not help when I put a zero-character in string[0] prior to calling sprintf(string,....

Thread-safty could be an issue, because sprintf is used by user threads as well - but always with a string local to the calling routine.

What does this extra coma try to tell me? Thanks for help.
Robert

--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

Reply via email to