Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!lll-crg!nike!ucbcad!ucbvax!MITRE.ARPA!gpowell From: gpowell@MITRE.ARPA (Gordon Powell) Newsgroups: net.micro.atari16 Subject: malloc and sbrk Message-ID: <8609181856.AA03018@mitre.ARPA> Date: Thu, 18-Sep-86 14:56:33 EDT Article-I.D.: mitre.8609181856.AA03018 Posted: Thu Sep 18 14:56:33 1986 Date-Received: Sat, 20-Sep-86 03:50:21 EDT Sender: daemon@ucbvax.BERKELEY.EDU Organization: The MITRE Corp., Washington, D.C. Lines: 5 If you are having problems with the DRI malloc, first call sbrk at the beginning of your program. Call it with an argument equal to the total number of bytes you anticipate needing. It allocates space to the heap where the dynamic memory management is done. See also brk. Both are documented under brk in the DRI C manual.