Re: malloc and realloc




"Keith Thompson" <kst-u@xxxxxxx> wrote in message

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.

That's about the size of it.
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".


.



Relevant Pages

  • Re: Beth HaWaadh Permits Eating of Kitniyoth by all Jews in Israel During Pesah
    ... and continue to check the rice by hand because their mothers did so. ... I'm confused - are you now saying that the Talmud and the Ashkenazi ... Rishonim are part of "the Torah?" ... etc. There's no "parent verse" from which a prohibition on kitniyot might ...
    (soc.culture.jewish.moderated)
  • Re: VEGANISM IS THE ULTIMATE FRISBEE OF DIETS....
    ... truck without training, all on a staple diet of bananas, other found ... I'm not saying we *should* do anything. ... Japanese are rice + fish, ...
    (rec.sport.disc)
  • Re: does the Diabetes Assoc. even know what a carb is
    ... >>>vegetables and some produce carbs. ... >> So are you saying there is NO difference in the carb content between ... >> have the same or more carbs than a serving of potatos or rice? ... broccoli and cucumbers without potatoes or yams or rice? ...
    (sci.med.nutrition)
  • 30 October Episode - Crystal & the Rice
    ... The intro scene shows Crystal carelessly knocking over the rice, ... saying she didn't want any when they cooked it, evidently feeling ... uncharacteristically guilty about it. ...
    (alt.tv.survivor)