realloc
Bjoern Kriews
bjoern at drdhh.hanse.de
Fri Apr 26 20:27:22 AEST 1991
>From article <91112.102011LSC at SLACVM.SLAC.STANFORD.EDU>, by LSC at SLACVM.SLAC.STANFORD.EDU:
> "If the space cannot be allocated, the object pointed to by ptr is unchang
> unchanged."
>
> Does this mean that one has no means of checking the success or failure
> of the operation? Does one have to resort to errno?
"If it cannot reallocate the memory, it returns NULL"
Hmm, what to say, he DID RTFM :-)
Greetings,
Bjoern
---
bjoern at drdhh.hanse.de = Bjoern Kriews / Stormsweg 6 / 2000 Hamburg 76 / FRG
"gaaga mahwe Bjoern urgl ufzae Turbo-C bnub" (J. Willamowius)
More information about the Comp.std.c
mailing list