# OS_TWarning

## C Specification

      #include <nitro/os.h>

      void OS_TWarning(
          const   char    *fmt , ... );

## Description

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()`.

`fmt` and the variable number of arguments become `<string>`.

This function is used for debugging. It will not be generated in the final ROM version (`FINALROM`).

## Arguments

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

## Return Values

None

## See Also

`OS_TPrintf`, `OS_TPanic`

## Revision History

11/25/2004 Added description of weak symbols
09/10/2004 Initial version