new standard for malloc() suggested

Israel Pinkas pinkas at mipos3.UUCP
Tue Dec 16 03:03:39 AEST 1986


>PS: to iterate an earlier suggestion: let's REQUIRE that char, short,
>int and long have a MINIMUM size of 8, 8, 16 and 32 bits respectively,
>and perhaps that 'long' be large enough to hold a pointer to any type
>(or at least the difference between two pointers whenever that difference
>is meaningful) (only need 16 bits for THAT on an Intel chip :-)

The last Intel chip to be able to guarantee that was the 8085.  From the
8086/8088 and up, code could be compiled in the "large" memory model which
required at least 20 bit to store, and could require up to 32 bits.

-Israel
-- 
----------------------------------------------------------------------
UUCP:	{amdcad,decwrl,hplabs,oliveb,pur-ee,qantel}!intelca!mipos3!pinkas
ARPA:	pinkas%mipos3.intel.com at relay.cs.net
CSNET:	pinkas%mipos3.intel.com



More information about the Comp.lang.c mailing list