Manual Reference Pages - XMTCHECKPRINTFFORMAT (3)
XmtCheckPrintfFormat() - verify that two strings have the
same printf() substitutions.
Boolean XmtCheckPrintfFormat(String template,
A string with printf()-style variable substitutions
A string to check against template.
True if msg has printf() substitutions that are identical to
or compatible with template; False otherwise.
XmtCheckPrintfFormat() verifies that the printf() substitutions in msg are compatible with the substitutions in
template. This is useful, for example, with XmtLocalize2()
which allows you to look up a translated verion of a message.
If the translated message will be passed to printf(), this
function lets you to check that it does not contain inappropriate substitutions.
XmtCheckPrintfFormat() supports regular printf()
substitutions and also the internationalized style of printf()
substitutions that are now supported on many systems. This new
substitution syntax allows you to specify the type and the
position of the argument to be substituted, and look like
%2$d or %1$s.
Chapter 25, Message Dialogs,
Chapter 3, Displaying Text,
|Xmt ||XMTCHECKPRINTFFORMAT (3) ||Motif Tools |
Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.