int pmprintf(const char *
, ... /*
pmprintf appends the formatted message string to an internal buffer shared by the two routines, without actually producing any output.
pmflush causes the internal buffer to be either displayed in a window, printed on standard error, or flushed to a file and the internal buffer to be cleared.
If PCP_STDERR is unset, the text is written onto the stderr stream of the caller.
If PCP_STDERR is set to the literal reserved word DISPLAY then the text will be displayed as a GUI dialog using xconfirm (1).
If PCP_STDERR is set to any other value then pmflush interprets the value as a file name and appends the text to that file. The file is created if it doesn't already exist, and in this case if the file creation fails, then stderr is used instead).
For either routine, a negative value is returned if an error was encountered, and this can be passed to pmErrStr (3) to obtain the associated error message.