Xref: utzoo comp.unix.wizards:21844 comp.unix.questions:22021 Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!samsung!munnari.oz.au!bruce!mmcg From: mmcg@bruce.OZ (Mike McGaughey) Newsgroups: comp.unix.wizards,comp.unix.questions Subject: Putting stubs around library routines (was: When will malloc...) Message-ID: <2128@bruce.OZ> Date: 7 May 90 15:35:41 GMT References: <2127@bruce.OZ> Distribution: all Organization: Monash Uni. Computer Science, Australia Lines: 12 Another malloc problem : I would like to place a semaphore guard around malloc(), while still using the standard library routine to do the actual allocation. All the other library routines that call malloc() have to use my version (easy - just link mine in first). However, can I call the library routine of the same name from my malloc routine? Mike. -- Mike McGaughey ACSNET: mmcg@bruce.cs.monash.oz "Ignorance is stupid, but education causes college students" - P.J. O'Rourke, Republican Party Reptile.