Article View: comp.std.c
Article #2784realloc
From: LSC
Date: Mon, 22 Apr 1991 18:20
Date: Mon, 22 Apr 1991 18:20
17 lines
963 bytes
963 bytes
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@slc.slac.stanford.edu
Control Systems Programmer BitNet: lsc@slacslc
Stanford Linear Accelerator Center DecNet: 45258::lsc or slc::lsc
Technical Details
Message-ID:
<91112.102011LSC@SLACVM.SLAC.STANFORD.EDU>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!unixhub!slacvm!lscShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!unixhub!slacvm!lsc From: LSC@SLACVM.SLAC.STANFORD.EDU Newsgroups: comp.std.c Subject: realloc Message-ID: <91112.102011LSC@SLACVM.SLAC.STANFORD.EDU> Date: 22 Apr 91 18:20:11 GMT Organization: Stanford Linear Accelerator Center Lines: 17