INtime SDK Help
scprintf, vscprintf

Counts the number of characters in the formatted string without producing output.

#include <stdio.h>

int scprintf(const char *format [, argument]...);
int vscprintf(const char *format, va_list args);

Parameters

format
Formatted string. This parameter has the same form and function as in printf.
argument
Optional arguments.
args
Pointer to list of arguments. This parameter points to a list of arguments that are converted and output according to the corresponding format specifications in format.

Return Values

The number of characters would have been converted, not counting the terminating null character.
Success.
-1
Failure.

Requirements

Versions Defined in Include Link to
INtime 3.0 intime/rt/include/stdio.h stdio.h clib.lib
   
See Also