realloc

LSC at SLACVM.SLAC.STANFORD.EDU LSC at SLACVM.SLAC.STANFORD.EDU
Tue Apr 23 04:20:11 AEST 1991


Hi,

     In the ANSI standard, p 155 line 23, it says:

     "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?

                                        Thanks
                                                Lou


Lou Sanchez-Chopitea                   InterNet: lsc at slc.slac.stanford.edu
Control Systems Programmer             BitNet:   lsc at slacslc
Stanford Linear Accelerator Center     DecNet:   45258::lsc or slc::lsc



More information about the Comp.std.c mailing list