Category : C Source Code
Archive   : JAZLIB.ZIP
Filename : JZPRNPTR.C
ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿
³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++);
}
Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!
This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.
But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/