🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.mac
Article #23809

Re: 32K limit

#23809
From: beto
Date: Fri, 08 Jan 1988 22:45
31 lines
1169 bytes
To: ucla-cs!zen!ucbvax!hplabs!pyramid!voder!apple!han
Subject: Re: 32K limit
Newsgroups: comp.sys.mac
In-Reply-To: <7149@apple.UUCP>
References: <3737@husc6.harvard.edu>
Organization: UCLA Computer Science Department
Cc: 
Bcc: 


I am having a problem with lightspeed C with data area bigger than 32k.
I tried to allocate memory using malloc() but  apparently I am 
messing up the heap.

the program looks like:

#define size 32000
int *x;
int i;
char *malloc();

x = (int *) malloc(sizeof(int)*size);
for (i = 0; i < size ; i++) 
  x[i] = 0 ;

Can anyone out there give me any advise on this problem?
Thanks in advance

Alberto Avritzer
Computer Science Dep.
Ucla
Technical Details
Message-ID: <10254@shemp.UCLA.EDU>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!oddjob!hao!ames!elroy!cit-vax!ucla-cs!beto
References: <3737@husc6.harvard.edu> <7149@apple.UUCP>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!oddjob!hao!ames!elroy!cit-vax!ucla-cs!beto
From: beto@CS.UCLA.EDU
Newsgroups: comp.sys.mac
Subject: Re: 32K limit
Message-ID: <10254@shemp.UCLA.EDU>
Date: 8 Jan 88 22:45:38 GMT
References: <3737@husc6.harvard.edu> <7149@apple.UUCP>
Sender: root@CS.UCLA.EDU
Reply-To: beto@CS.UCLA.EDU (Alberto Avritzer)
Distribution: comp.sys.mac
Organization: UCLA Computer Science Department
Lines: 31
Keywords: how do you make the damn thing work