OS_FPutString

Syntax

#include <nitro/os.h>

void OS_FPutString( int console, const char* str );

(This is actually a function pointer)

Arguments

console Output window.
str Display string

Return Values

None.

Description

This is a version of OS_PutString() that allows the output window to be specified. All behavior other than designating the output destination is based on the specification for OS_PutString(), so be sure to refer to that page.

console is used to specify the output destination, and can take values (window numbers) between 0 and 3, as well as OS_PRINT_OUTPUT_NONE and OS_PRINT_OUTPUT_CURRENT. Nothing will be output if you specify OS_PRINT_OUTPUT_NONE. Specifying OS_PRINT_OUTPUT_CURRENT will output to the standard output destination that was specified using OS_SetPrintOutput().

This function is used for debugging. It does not perform any output in FINALROM versions of the library.

Internal Operation

This function is actually a function pointer like the following:

void (*OS_FPutString)( int console, const char* str );

In addition, it changes the display function depending on the operating environment.

See Also

OS_PutString

Revision History

2008/01/12 Initial version.


CONFIDENTIAL