print a message on the screen of the physical console


#include <unistd.h>
void qnx_display_msg( char *text );


The qnx_display_msg() function prints text to the screen of your physical console. The behavior of this output is device-dependent. The output isn't synchronized on a task basis, and may be intermingled if more than one task uses this facility.

Note: This routine is for use ONLY by programs such as FSYS or device drivers that don't have access to the standard output and standard error facilities.

The positioning of each message is determined by the current row and column, which are internal variables kept by the process manager. Each message increments the current column by the number of characters in the text.

A formfeed (0x0c) resets the current row and column to the upper left corner of the screen. A newline (0x0a) increments the current row, and sets the column to zero.


#include <unistd.h>

void main( int argc, char **argv )
    register int i;

    qnx_display_msg( argv[0] );
    for( i = 1; i < argc; ++i ) {
      qnx_display_msg( " " );
      qnx_display_msg( argv[i] );
    qnx_display_msg( "\n" );



Interrupt handler No
Signal handler Yes
Thread Yes

See also: