Str.vprintf

An implementation of the standard vprintf() function which supports positional parameters, as specified in the Single Unix Specification.

struct Str
static
int
vprintf
(
string format
,
void* args
)

Parameters

format string

a standard printf() format string, but notice [string precision pitfalls][string-precision]

args void*

the list of arguments to insert in the output.

Return: the number of bytes printed.

Meta