Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!uunet!snorkelwacker!bloom-beacon!CCC.NMFECC.GOV!devsop%ra%netvax From: devsop%ra%netvax@CCC.NMFECC.GOV (Pothier Steve) Newsgroups: comp.windows.x Subject: Returning from XtMalloc?? Message-ID: <9002271554.AA12993@ra.> Date: 27 Feb 90 15:54:27 GMT Sender: daemon@athena.mit.edu (Mr Background) Organization: The Internet Lines: 19 The X Toolkit Intrinsics manual (X11R3) says "These functions [XtMalloc, XtCalloc, XtRealloc] are completely compatible with their C language runtime counterparts ..." However, the Xt versions don't seem to return if space can't be allocated. Does this mean one should use the Xt alloc functions only when the memory they grab is strictly necessary to continue with client execution? Should we use regular C alloc functions when there is the possibility of continueing from a failed alloc? advTHANKSance, ============================================================================== Steve Pothier pothiers%tuva.sainet@nmfecc.arpa Science Applications International Tucson, AZ 602-748-7400 ==============================================================================