home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Boston 2
/
boston-2.iso
/
DOS
/
PROGRAM
/
C
/
JAZLIB
/
JZPRNPTR.C
< prev
next >
Wrap
Text File
|
1993-12-01
|
825b
|
29 lines
/*
┌────────────────────────────────────────────────────────────────────────────┐
│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++);
}