MPHDEBUG(3) | MBK PHYSICAL UTILITY FUNCTIONS | MPHDEBUG(3) |
mphdebug - physical data structure contents debug function
See the file buster/alliance/alc_origin.1.en.gz.
#include "mph.h" void mphdebug(headpointer, structurename) void ∗headpointer; char ∗structurename;
mphdebug allows a user interactive visualisation of the
internal contents of the physical view of mbk.
Through the use of a small, but convenient, textual user interface, a step by
step exploration of each fields of the data structure is made available.
However, if the structure is big, it may be painful to use.
First of all, the contents of the expected struture is displayed, with its
fields named as they appear in the appropriate header file. Then the user is
prompted by a `>>' for an input.
The input may be either a field name, or a predefined symbol. Field names are
to be typed the way they are displayed. Predefined symbols are:
The debugger functions are easy to understand, so just try it!
#include "mph.h" void scan_na2_y() { getphfig("na2_y", 'A'); mphdebug(HEAD_PHFIG, "phfig"); }
mbk(1), phfig(3), phcon(3), phins(3), phvia(3), phref(3), mlodebug(3).
See the file buster/alliance/alc_bug_report.1.en.gz.
October 1, 1997 | ASIM/LIP6 |