Re: malloc and realloc
- From: "Malcolm McLean" <regniztar@xxxxxxxxxxxxxx>
- Date: Sun, 28 Jan 2007 08:39:08 -0000
"Keith Thompson" <kst-u@xxxxxxx> wrote in message
That's about the size of it.
I think what you're actually saying is not that allocations will
always succeed, but that they fail by shutting down your program (or
the OS?) rather than by properly returning a null pointer. Ick.
I've outsourced all my computing to China, so when they run out of those
little wooden blocks they can always resort to grains of rice. Some of my
Chinamen can even write the Lord's Prayer on a rice grain.
However even they will ultimately run out of resources if, say, my program
is allocating in an infinite loop. The question is whether they say "sorry
no more rice" or send a messenger a few hours before saying "Sir, our rice
situation is getting desperate".
.
- References:
- malloc and realloc
- From: ravi . cs . 2001
- Re: malloc and realloc
- From: Richard Heathfield
- Re: malloc and realloc
- From: Malcolm McLean
- Re: malloc and realloc
- From: Keith Thompson
- malloc and realloc
- Prev by Date: Re: How to identify the platform & compiler while compiling?
- Next by Date: Re: I have no programming experience. Would you recommend C?
- Previous by thread: Re: malloc and realloc
- Next by thread: Re: malloc and realloc
- Index(es):
Relevant Pages
|