home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Devil's Doorknob BBS Capture (1996-2003)
/
devilsdoorknobbbscapture1996-2003.iso
/
Dloads
/
WWIVMODS
/
PRE412.ZIP
/
DISPLAY.C
< prev
next >
Wrap
C/C++ Source or Header
|
1988-10-27
|
287b
|
16 lines
#include <stdio.h>
#include <dos.h>
#include "vardec.h"
userrec *u;
void main()
{
printf("Userrec length is %d\nMail waiting offset is %d\nInact offset is %d\n\n",
sizeof(userrec),
FP_OFF(&(u->waiting))-FP_OFF(u->name),
FP_OFF(&(u->inact))-FP_OFF(u->name));
}