1.2.4.4.14 SYS_CONSOLE_Message Function
C
void SYS_CONSOLE_Message(const SYS_CONSOLE_HANDLE handle, const char *message)
Summary
Prints a message to the console
Description
This function prints a message to the console
Precondition
SYS_CONSOLE_Initialize must have returned a valid object handle.
Parameters
Param | Description |
---|---|
handle | Handle to a console instance |
message | Pointer to a message string to be displayed. |
Returns
None.
Example
SYS_CONSOLE_HANDLE myConsoleHandle; myConsoleHandle = SYS_CONSOLE_HandleGet(SYS_CONSOLE_INDEX_0); if (myConsoleHandle != SYS_CONSOLE_HANDLE_INVALID) { SYS_CONSOLE_Message(myConsoleHandle, "Printing using SYS_Message"); }
Remarks
Call SYS_CONSOLE_MESSAGE macro to print on the default console instance 0