Str.printfStringUpperBound

Calculates the maximum space needed to store the output of the sprintf() function.

struct Str
static
size_t
printfStringUpperBound
(
string format
,
void* args
)

Parameters

format string

the format string. See the printf() documentation

args void*

the parameters to be inserted into the format string

Return Value

Type: size_t

the maximum space needed to store the formatted string

Meta