_DUMP - dump a portion of memory.

(GCOS-8 only)

Usage:

#include <stdio.h>
_dump( file, startloc, numbytes )

Where:

FILE *file;
is a file pointer to a file open for writing. This file receives the dump output.
char *startloc;
points to the beginning of the memory to be dumped.
int numbytes;
gives the number of bytes (characters) to dump.

Description:

"_dump" dumps memory into the given "file". The dump format gives each character in memory in both hexadecimal and ASCII. Unprintable ASCII characters are represented by a tilde (~).

Warning:

This function was written to fulfill the requirements of a site that needed compatibility with other systems. It only dumps the bottom 8 bits of every byte. On GCOS-8, we strongly recommend that you use "_dumpb" or "_dumpw" instead of "_dump".

See Also:

expl c lib _dumpb

expl c lib _dumpw

Copyright © 1996, Thinkage Ltd.