Path: utzoo!attcan!uunet!cs.utexas.edu!sun-barr!newstop!sun!claris!ClarisII!drc From: drc@iti.org (Dennis Cohen) Newsgroups: comp.sys.mac.programmer Subject: Re: A062 trap name? Message-ID: Date: 26 Oct 90 14:01:57 GMT References: <14539@imag.imag.fr> <1990Oct26.042358.14081@eng.umd.edu> Sender: news@claris.com Lines: 27 russotto@eng.umd.edu (Matthew T. Russotto) writes: >In article <14539@imag.imag.fr> iron@imag.imag.fr (Francois Menneteau) writes: >> >>I can't find it in IM. >Trap $A062 is PurgeSpace. I don't know what it does. PurgeSpace returns (in total) the total amount of space in bytes that could be obtained by a general purge without actually doing the purge; this amount includes space that is already free. The maximum contiguous space in bytes, including already free space, that could be obtained by a purge is returned in contig. In Pascal: Procedure PurgeSpace (VAR total,contig: LONGINT); In C: void pascal PurgeSpace(long *total, long *contig); In Asm: Trap macro _PurgeSpace _PurgeSpace ,SYS (applies to system heap) On exit A0: contig (long word) D0: total (long word) -- | Dennis Cohen drc@claris.com COHEN2 AFC DCohen 71076,1377 | Internet AppleLink AmerOnline CompuServe | Disclaimer: Any unattributed opinions expressed above are _MINE_!