print a hexadecimal number
#include <unistd.h> void qnx_display_hex( unsigned value );
The qnx_display_hex() function prints value to the screen of your physical console, formatted as %04x .
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. |
#include <unistd.h> void main( int argc, char **argv ) { register int i; qnx_display_msg( argv[0] ); qnx_display_msg( " " ); for( i = 1; i < argc; ++i ) qnx_display_hex( atoh( argv[i] ) ); qnx_display_msg( "\n" ); }
QNX
Safety: | |
---|---|
Interrupt handler | No |
Signal handler | Yes |
Thread | Yes |