On Sun, 3 Jan 1999, James [on his mailserver] wrote:

> > Note you'll have to #include <stdlib.h> to have malloc's prototype
> 
> isn't that what <malloc.h> is for? it's what i use...

Not according to ANSI or K&R C. Even the man page says 
<stdlib.h>. 

> isn't Linux clever enough to do that when you quit the program? (when i
> was playing with linked lists, one ran away and ate a load of ram and i

Linux is, but not all operating systems are. 




Reply via email to