realloc

Doug Gwyn gwyn at smoke.brl.mil
Tue Apr 23 07:40:06 AEST 1991


In article <91112.102011LSC at SLACVM.SLAC.STANFORD.EDU> LSC at SLACVM.SLAC.STANFORD.EDU writes:
>     Does this mean that one has no means of checking the success or failure
>of the operation? Does one have to resort to errno?

No -- when one of the allocation functions fails, it returns a null pointer.



More information about the Comp.std.c mailing list