In file No file:

void cvrnMesg (char *prefix, char *fmt, ...)

A thread-safe printf

Documentation

A thread-safe printf. Use this rather than the standard printf to print text to the TTY.

example 1:

cvrnMesg(NULL,"Hello %d %f", foo,bar);

prints something like:

CAVERN: Hello 123 32.4

example 2:

cvrnMesg("WARNING","Hello %s %u",someText,num);

prints something like:

CAVERN: WARNING: Hello blah blah 342

Parameters:
prefix - text to print before printing your message.
fmt - format string that you normally would have specified for printf.
arguments - for the format string.

alphabetic index hierarchy of classes


this page has been generated automatically by doc++

(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de