home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Microsoft Programmer's Library 1.3
/
Microsoft-Programers-Library-v1.3.iso
/
sampcode
/
alde_c
/
misc
/
lib
/
dlibssrc
/
msize.c
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
NeXTSTEP
RISC OS/Acorn
UTF-8
Wrap
Text File
|
1987-10-02
|
255 b
|
11 lines
long msize(addr)
register long *addr;
/*
* Return the size, in bytes, of the memory block at <addr>. Note
* that the size is a long value, since the block may have been
* allocated by lalloc().
*/
{
return((addr[-1] & 0x00FFFFFF) - 4L);
}