Where is malloc() defined?

Joe Stevens joe.stevens@gsfc.nasa.gov
Fri Jan 2 11:04:00 GMT 1998


Ah yes! Now I'm in business. Thanks Arlindo!

I worked perfectly.

Joe

At 09:31 AM 1/2/98 -0500, Arlindo da Silva wrote:
>Joe,
>> 
>> I have just installed the latest gnu-win32. I was compiling a program and
>> the compiler was unable to locate malloc.h. What header file is the
>> malloc() defined.
>> 
>
>Since "malloc.h" is not really ANSI it was left out.
>A workaround is to create a single line "malloc.h":
>
>#include <stdlib.h>
>
>-- 
>Arlindo da Silva    
>dasilva@alum.mit.edu
>
>
>
>
-Joe Stevens-)))--->> URL http://www530.gsfc.nasa.gov/~stevens
-----------------------------------------------+
|\ | /\ (<  /\     Goddard Space Flight Center |
| \|/  \ >)/  \    Network Engineering Branch  |
Code 531.2, Greenbelt, Maryland 20771          |
Email: joe.stevens@gsfc.nasa.gov      :-)      |
Tel: (301) 286-1557   Fax: (301) 286-1724      |
-----------------------------------------------+
  _     
 ___  "We should be aware of the spirits that love us, 
(- -)  so that we don't let them down." ... Joe Williams
  ^      
  V      

  
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".



More information about the Cygwin mailing list