PurifyPrintf

Example       Related Topics

Description

Prints the argument strings and the call stack leading up to the call to PurifyPrintf.

Syntax

int PurifyPrintf(void *fmt, ...)

 

fmt Standard formatting arguments for Printf, as follows:

%c

A single-byte character

%C

A Unicode character

%d

Signed decimal integer

%u

Unsigned decimal integer

%x

Unsigned hexadecimal integer, using "abcdef"

%f

Signed double value

%s

NULL terminated string

%S

Unicode string

Returns

0

 

Notes

§      This function generates a PurifyPrintf message in the Error View, and is especially useful for embedding visual checkpoints into an Error View. For an example of the message Purify generates, click PurifyPrintf message.

§      Use of any unspecified format characters generates a PurifyPrintf message, with error information, in the Error View.

(C) Copyright IBM Corporation 1992, 2010.