mcConvFmt — Convert a format string
#include <memcom.h> char* mcConvFmt(const char* fmt);
mcConvFmt
converts a format string
containing SMR-specific directives (such as '%O
'
and '%U
') in a format string which is compatible
with the stdio
(3) functions
fprintf
(3), fscanf
(3),
and related functions.
fmt
The format string. It is composed of zero or more
directives and ordinary characters (not '%'). In addition to
the directives supported by stdio
(3),
the following directives are supported: O
for arguments of type mcOff
.
U
for arguments of type
mcSize
.