Path: utzoo!news-server.csri.toronto.edu!rutgers!usc!jarthur!nntp-server.caltech.edu!gwoho From: gwoho@nntp-server.caltech.edu (g liu) Newsgroups: comp.unix.questions Subject: malloc array bigger than 32k on a 16bit int machine? Message-ID: <1991Mar13.073222.3467@nntp-server.caltech.edu> Date: 13 Mar 91 07:32:22 GMT Organization: California Institute of Technology, Pasadena Lines: 9 is there a standard way to allocate dynamically an array bigger than 32k on a machine with 16bit ints? i think malloc calls brk, which takes an int, so it cant bump a chunk bigger than 32k. what i am really interested in is being able to allocate arrays arbitrarily big. (a solution for allocating 42k arrays would be interesting to me, but i would really like a significantly less limited way to get memory) gwoho liu.