Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!rutgers!cmcl2!adm!smoke!gwyn From: gwyn@smoke.brl.mil (Doug Gwyn) Newsgroups: comp.std.c Subject: Re: realloc Message-ID: <15944@smoke.brl.mil> Date: 22 Apr 91 21:40:06 GMT References: <91112.102011LSC@SLACVM.SLAC.STANFORD.EDU> Organization: U.S. Army Ballistic Research Laboratory, APG, MD. Lines: 5 In article <91112.102011LSC@SLACVM.SLAC.STANFORD.EDU> LSC@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.