🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.x
Article #37530

Returning from XtMalloc??

#37530
From: Pothier Steve
Date: Tue, 27 Feb 1990 15:54
19 lines
1188 bytes
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
==============================================================================
Technical Details
Message-ID: <9002271554.AA12993@ra.>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!uunet!snorkelwacker!bloom-beacon!CCC.NMFECC.GOV!devsop%ra%netvax

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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