Print Functions
These functions simply print the output in a "name=value" format. More...Functions | |
| EXTERNRT int | rtxByteToHexChar (OSOCTET byte, char *buf, size_t bufsize) |
| This function converts a byte value into its hex string equivalent. | |
| EXTERNRT void | rtxPrintBoolean (const char *name, OSBOOL value) |
| Prints a boolean value to stdout. | |
| EXTERNRT void | rtxPrintDate (const char *name, const OSNumDateTime *pvalue) |
| Prints a date value to stdout. | |
| EXTERNRT void | rtxPrintTime (const char *name, const OSNumDateTime *pvalue) |
| Prints a time value to stdout. | |
| EXTERNRT void | rtxPrintDateTime (const char *name, const OSNumDateTime *pvalue) |
| Prints a dateTime value to stdout. | |
| EXTERNRT void | rtxPrintInteger (const char *name, OSINT32 value) |
| Prints an integer value to stdout. | |
| EXTERNRT void | rtxPrintInt64 (const char *name, OSINT64 value) |
| Prints a 64-bit integer value to stdout. | |
| EXTERNRT void | rtxPrintUnsigned (const char *name, OSUINT32 value) |
| Prints an unsigned integer value to stdout. | |
| EXTERNRT void | rtxPrintUInt64 (const char *name, OSUINT64 value) |
| Prints an unsigned 64-bit integer value to stdout. | |
| EXTERNRT void | rtxPrintHexStr (const char *name, OSUINT32 numocts, const OSOCTET *data) |
| This function prints the value of a binary string in hex format to standard output. | |
| EXTERNRT void | rtxPrintHexBinary (const char *name, OSUINT32 numocts, const OSOCTET *data) |
| Prints an octet string value in hex binary format to stdout. | |
| EXTERNRT void | rtxPrintCharStr (const char *name, const char *cstring) |
| Prints an ASCII character string value to stdout. | |
| EXTERNRT void | rtxPrintUTF8CharStr (const char *name, const OSUTF8CHAR *cstring) |
| Prints a UTF-8 encoded character string value to stdout. | |
| EXTERNRT void | rtxPrintUnicodeCharStr (const char *name, const OSUNICHAR *str, int nchars) |
| This function prints a Unicode string to standard output. | |
| EXTERNRT void | rtxPrintReal (const char *name, OSREAL value) |
| Prints a REAL (float, double, decimal) value to stdout. | |
| EXTERNRT void | rtxPrintNull (const char *name) |
| Prints a NULL value to stdout. | |
| EXTERNRT void | rtxPrintNVP (const char *name, const OSUTF8NVP *value) |
| Prints a name-value pair to stdout. | |
| EXTERNRT int | rtxPrintFile (const char *filename) |
| This function prints the contents of a text file to stdout. | |
| EXTERNRT void | rtxPrintIndent (void) |
| This function prints indentation spaces to stdout. | |
| EXTERNRT void | rtxPrintIncrIndent (void) |
| This function increments the current indentation level. | |
| EXTERNRT void | rtxPrintDecrIndent (void) |
| This function decrements the current indentation level. | |
| EXTERNRT void | rtxPrintCloseBrace (void) |
| This function closes a braced region by decreasing the indent level, printing indent spaces, and printing the closing brace. | |
| EXTERNRT void | rtxPrintOpenBrace (const char *) |
| This function opens a braced region by printing indent spaces, printing the name and opening brace, and increasing the indent level. | |
| EXTERNRT void | rtxHexDumpToNamedFile (const char *filename, const OSOCTET *data, OSUINT32 numocts) |
| This function outputs a hexadecimal dump of the current buffer contents to the file with the given name. | |
| EXTERNRT void | rtxHexDumpToFile (FILE *fp, const OSOCTET *data, OSUINT32 numocts) |
| This function outputs a hexadecimal dump of the current buffer contents to a file. | |
| EXTERNRT void | rtxHexDumpToFileEx (FILE *fp, const OSOCTET *data, OSUINT32 numocts, int bytesPerUnit) |
| This function outputs a hexadecimal dump of the current buffer to a file, but it may output the dump as an array of bytes, words, or double words. | |
| EXTERNRT void | rtxHexDump (const OSOCTET *data, OSUINT32 numocts) |
| This function outputs a hexadecimal dump of the current buffer contents to stdout. | |
| EXTERNRT void | rtxHexDumpEx (const OSOCTET *data, OSUINT32 numocts, int bytesPerUnit) |
| This function outputs a hexadecimal dump of the current buffer contents to stdout, but it may display the dump as an array or bytes, words, or double words. | |
| EXTERNRT int | rtxHexDumpToString (const OSOCTET *data, OSUINT32 numocts, char *buffer, int bufferIndex, int bufferSize) |
| This function formats a hexadecimal dump of the current buffer contents to a string. | |
| EXTERNRT int | rtxHexDumpToStringEx (const OSOCTET *data, OSUINT32 numocts, char *buffer, int bufferIndex, int bufferSize, int bytesPerUnit) |
| This function formats a hexadecimal dump of the current buffer contents to a string, but it may output the dump as an array of bytes, words, or double words. | |
Detailed Description
These functions simply print the output in a "name=value" format.The value format is obtained by calling one of the ToString functions with the given value.
Function Documentation
|
||||||||||||||||
|
This function converts a byte value into its hex string equivalent.
|
|
||||||||||||
|
This function outputs a hexadecimal dump of the current buffer contents to stdout.
|
|
||||||||||||||||
|
This function outputs a hexadecimal dump of the current buffer contents to stdout, but it may display the dump as an array or bytes, words, or double words.
|
|
||||||||||||||||
|
This function outputs a hexadecimal dump of the current buffer contents to a file.
|
|
||||||||||||||||||||
|
This function outputs a hexadecimal dump of the current buffer to a file, but it may output the dump as an array of bytes, words, or double words.
|
|
||||||||||||||||
|
This function outputs a hexadecimal dump of the current buffer contents to the file with the given name. The file is opened or created and then closed after the writer operation is complete.
|
|
||||||||||||||||||||||||
|
This function formats a hexadecimal dump of the current buffer contents to a string.
|
|
||||||||||||||||||||||||||||
|
This function formats a hexadecimal dump of the current buffer contents to a string, but it may output the dump as an array of bytes, words, or double words.
|
|
||||||||||||
|
Prints a boolean value to stdout.
|
|
||||||||||||
|
Prints an ASCII character string value to stdout.
|
|
||||||||||||
|
Prints a date value to stdout.
|
|
||||||||||||
|
Prints a dateTime value to stdout.
|
|
|
This function prints the contents of a text file to stdout.
|
|
||||||||||||||||
|
Prints an octet string value in hex binary format to stdout.
|
|
||||||||||||||||
|
This function prints the value of a binary string in hex format to standard output. If the string is 32 bytes or less, it is printed on a single line with a '0x' prefix. If longer, a formatted hex dump showing both hex and ascii codes is done.
|
|
||||||||||||
|
Prints a 64-bit integer value to stdout.
|
|
||||||||||||
|
Prints an integer value to stdout.
|
|
|
Prints a NULL value to stdout.
|
|
||||||||||||
|
Prints a name-value pair to stdout.
|
|
||||||||||||
|
Prints a REAL (float, double, decimal) value to stdout.
|
|
||||||||||||
|
Prints a time value to stdout.
|
|
||||||||||||
|
Prints an unsigned 64-bit integer value to stdout.
|
|
||||||||||||||||
|
This function prints a Unicode string to standard output. Characters in the string that are within the normal Ascii range are printed as single characters. Characters outside the Ascii range are printed as 4-byte hex codes (0xnnnn).
|
|
||||||||||||
|
Prints an unsigned integer value to stdout.
|
|
||||||||||||
|
Prints a UTF-8 encoded character string value to stdout.
|
