OS_Warning

C Specification

#include <nitro/os.h>

void OS_Warning( const char *fmt, ...

Arguments

fmt Character string output format (character string format)
... Variable number of arguments

Return Values

None.

Description

This function outputs a character string. A variable number of arguments can be given using the format character string fmt.

The output format is:

<filename>:<linenumber> Warning: <string>

<filename> <linenumber> are the file name and line number describing this OS_Halt() function. <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).

Internal Operation

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.

See Also

OS_Printf, OS_Panic

Revision History

11/25/2004 Added internal operation and description of weak symbols
12/01/2003 Initial version