#include <nitro/os.h>
void OS_Warning( const char *fmt, ... );
fmt | Output format string. |
... | Variable number of arguments |
None.
Outputs a string. A variable number of arguments can be given using the format string fmt
.
The output format is:
<filename>:<linenumber>
Warning: <string>
The filename and line number described by this OS_Warning
function are indicated by <filename>
and <linenumber>
. <string>
is created from fmt
and the variable number of arguments.
The maximum string length that can be displayed is 255 characters. If a string with 256 or more characters is specified, all characters from the 256th character are ignored.
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.
2009/10/02 Explained the maximum displayable string length.
2004/11/25 Added a description of the weak symbol.
2003/12/01 Initial version.
CONFIDENTIAL