[comp.unix.questions] malloc array bigger than 32k on a 16bit int machine?

gwoho@nntp-server.caltech.edu (g liu) (03/13/91)

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.