STD_TSScanf

Syntax

#include <nitro/std.h>

int STD_TSScanf( const char *src, const char *fmt, ... );

Arguments

src Input string.
fmt Input formatted string (formatted string).

Return Values

Returns the number of times form conversion was successful and was actually substituted.

When the end of src is reached without making even one successful form conversion, it returns -1.

Description

Returns the simplified version of the format string.

Other than accepting variable arguments, this is equivalent to the STD_TVSScanf function.

This function is compiled with weak symbols. Therefore, you can overwrite them with your own function definitions.
However, this function may be used by TWL-SDK functions, high-level libraries, middleware, and other sources, so be careful not to change its behavior when you overwrite it.

See Also

STD_TVSScanf
OS_VSNPrintf

Revision History

2009/03/27 Added notes related to weak symbols and user-defined functions.
2005/10/25 Initial version.


CONFIDENTIAL