printf2

Writes formatted output to the standard output stream (supports float and double type)

long printf2 (
        const char *fmt, [argument...]
)

Arguments

fmt Input format conversion string

Return Value

The length of the output character string is returned. NULL is returned if an error occurred.

Explanation

Writes formatted output to stdout, the standard output stream.
Please refer to the C language reference for a detailed explanation of the input format conversion string. The format specifiers “f”, “e”, “E”, “g” and “G” can be used.
printf2() requires more stack space than printf().

See Also

sprintf2()