home *** CD-ROM | disk | FTP | other *** search
- /*
- ┌────────────────────────────────────────────────────────────────────────────┐
- │jzprnptr │
- │Print out a any data object. i.e. array, structure, etc. │
- │Synopsis: │
- │ struct treg wreg; │
- │ . │
- │ . │
- │ . │
- │ jzprnptr(&wreg,"%02x",sizeof(wreg)); │
- │ │
- │ Synopsis: │
- │ wreg : the data item to print; │
- │ second parm is the control string │
- │ third argument is sizeof the structure │
- │ │
- └────────────────────────────────────────────────────────────────────────────┘
- */
-
- jzprnptr(fptr,fctrl,flength)
- char *fptr;
- char *fctrl;
- unsigned int flength;
- {
-
- while (flength--)
- printf(fctrl,*fptr++);
- }