getmem(3G) — Silicon Graphics
NAME
getmem − returns the amount of available memory
SPECIFICATION
C
long getmem()
FORTRAN
integer*4 function getmem()
Pascal
function getmem: longint;
DESCRIPTION
getmem returns the amount of available memory left on the system. On a workstation with virtual memory up to 14 megabytes, it returns 14 megabytes minus the amount that has been used. On a terminal, it returns the amount of free physical memory.
SEE ALSO
Programming Guide, Section 8.3, Object Editing
NOTE
This routine is available only in immediate mode.
Version 3.6 — December 20, 1987