new standard for malloc() suggested

Chuck Forsberg WA7KGX caf at omen.UUCP
Mon Dec 15 06:26:31 AEST 1986


In article <1790 at batcomputer.tn.cornell.edu> braner at batcomputer.UUCP (braner) writes:
:Aha, now that we've been reminded of the low ceiling for malloc()'s
:argument (an unsigned int, which on some systems is only 16 bits):
:
:I've been bitten by this, and would like to see a bigmalloc() with
:a LONG argument!  (Can't change malloc itself, that'll break current
:programs...).

>From the "386 Toolkit" documentation: "... malloc will fail if an attempt
is made to allocate more memory than a signed integer will hold.  This is
a limitation of the 286 ..."    "... Realloc cannot be used in large model
programs."

So, get your 386 Proton Pack and some REAL Software.

BTW, if anybody has a working adb386, drop me a line ...

Chuck Forsberg WA7KGX Author of Pro-YAM communications Tools for PCDOS and Unix
...!tektronix!reed!omen!caf  Omen Technology Inc "The High Reliability Software"
  Voice: 503-621-3406  17505-V Northwest Sauvie Island Road Portland OR 97231
TeleGodzilla BBS: 621-3746 2400/1200  CIS:70007,2304  Genie:CAF  Source:TCE022
  omen Any ACU 1200 1-503-621-3746 se:--se: link ord: Giznoid in:--in: uucp
  omen!/usr/spool/uucppublic/FILES lists all uucp-able files, updated hourly



More information about the Comp.lang.c mailing list