4.11.3. Hostif_PrettyPrint

This function prints a string in the same way as Hostif_ConsolePrint(), but in addition performs line-break checks so that wordwrap is avoided. Use it to display startup messages.

Syntax


void Hostif_PrettyPrint(const struct RDI_HostosInterface *hostif,                        struct hashblk * /*toolconf*/ config,
                        const char *format, ...)

where:

hostif

is the handle for the host interface.

config

is a pointer to the toolconf configuration database of the model. This value is available in the state datastructure of the model, as defined between the BEGIN_STATE_DECL() and END_STATE_DECL() macros (see Basic model interface).

format

is a pointer to a printf-style formatted output string.

...

are a variable number of parameters associated with format.

Copyright © 1999-2001 ARM Limited. All rights reserved.ARM DUI0058D
Non-Confidential