printf() conforms to the C version. The most significant difference is that you will NOT be warned when passing an invalid type as you would in the C version (by your compiler). The result is that if the format specifier is too small then significant digits may be ignored when printed. The alternative is to use the trace() function that does not rely upon format specifiers. (Personally I tend to use the trace() function to debug printf() issues. Ð In the event that I used the wrong format specifier for the datatype supplied.)


This lack of checking of format specifiers to datatypes was suggested as a bug in ProbeVue. At the very least the probevue binary should allow for a ÒstrictÓ flag that will warn in situations where data may be mis-interpreted.