Putting stubs around library routines (was: When will malloc...)
Mike McGaughey
mmcg at bruce.OZ
Tue May 8 01:35:41 AEST 1990
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 at bruce.cs.monash.oz
"Ignorance is stupid, but education causes college students"
- P.J. O'Rourke, Republican Party Reptile.
More information about the Comp.unix.wizards
mailing list