_DUMPW - dump an array of words.
void _dumpw(FILE *u, void *p, size_t words
[, char *fmt, int linelen, int origin]);
- FILE *u;
- specifies the stream where you want the dump output
- void *p;
- points to the first word whose contents you want to dump.
This must point to a word boundary.
- size_t words;
- specifies the number of words you want to dump.
- char *fmt;
- points to a string of format option characters. Multiple
dump formats can be selected. The following are currently
- dumps each word as four ASCII characters.
Unprintable characters are printed as spaces.
- dumps words as signed decimal numbers.
- dumps words as single precision floating point
- dumps in octal.
- dumps in hex.
- suppresses duplicate lines. The last line is
If omitted, the default is "o*".
- int linelen;
- specifies the number of words to display per line. The
default value is 4.
- int origin;
- is a value added to the offset address printed at the
left of the dump data.
"_dumpw" can display an array of words (long ints)
in a variety of formats. It is primarily used in debugging and
- expl c lib _dumpb
- for a routine that displays bytes individually.
Copyright © 1996, Thinkage Ltd.