Article View: comp.unix.programmer
Article #83Re: Duplication of malloc() definit
From: darcy
Date: Sat, 18 Jul 1992 10:24
Date: Sat, 18 Jul 1992 10:24
14 lines
1093 bytes
1093 bytes
jmp@moscom.UUCP (Joe Palumbos) writes: >Can someone tell me why the memmory allocation routines are >defined in both malloc.h and in stdlib.h? (i.e.: malloc(), Because some older compilers used malloc.h and so for compatibility with programs which use it malloc.h is included. ANSI puts these functions in stdlib.h and this is the right header to use. -- D'Arcy J.M. Cain (darcy@druid) | D'Arcy Cain Consulting | There's no government Toronto, Ontario, Canada | like no government! +1 416 424 2871 DoD#0082 |
Technical Details
Message-ID:
<1992Jul18.002407.20753@druid.uuc>Path:
arc1-ca.pugleaf.net!sparky!uunet!mcsun!fuug!demos!kiae!glas!demos!druid.uucp!darcyReferences:
<9219708.3101@mulga.cs.mu.oz.au>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!fuug!demos!kiae!glas!demos!druid.uucp!darcy From: darcy@druid.uucp Newsgroups: comp.unix.programmer Date: 18 Jul 92 04:24 MDT Subject: Re: Duplication of malloc() definit Sender: Notesfile to Usenet Gateway <notes@glas.apc.org> Message-ID: <1992Jul18.002407.20753@druid.uuc> References: <9219708.3101@mulga.cs.mu.oz.au> Nf-ID: #R:9219708.3101@mulga.cs.mu.oz.au:-2146214427:1992Jul18.002407.20753@druid.uuc:-1486557757:001:554 Nf-From: druid.uucp!darcy Jul 18 04:24:00 1992 Lines: 15