#include <nitro/os.h>
void OS_TWarning( const char *fmt, ...
fmt | Character string output format (character string format) |
... | Variable number of arguments |
None.
This function outputs a character string. Internally, this function calls OS_VSNPrintf
. Therefore, the usable character string format (character string output format) is more restricted than OS_Warning()
. However, you can save on the code and stack overhead by using this function instead of OS_VSNPrintf()
or OS_Warning()
.
The output format is:
<filename>:<linenumber>
Warning: <string>
<filename> <linenumber>
are the file name and line number described in OS_Warning()
. <string>
is created from fmt
and the variable number of arguments.
This function is used for debugging. It will not be generated in the final ROM version (FINALROM
).
OS_Warning()
is actually a #define
of OSi_Warning()
. OSi_Warning()
is compiled with weak symbols. Therefore you can overwrite them with your own function definitions.
11/25/2004 Added internal operation and description of weak symbols
09/10/2004 Initial version