Calling free() from libc library
From: morden (morden_at_shadows.net)
Date: 07/17/03
- Next message: Paul Pluzhnikov: "Re: Calling free() from libc library"
- Previous message: Michael B. Williams: "Repost - help with my test app"
- Next in thread: Paul Pluzhnikov: "Re: Calling free() from libc library"
- Reply: Paul Pluzhnikov: "Re: Calling free() from libc library"
- Reply: Joe Wright: "Re: Calling free() from libc library"
- Reply: Yoo Chung: "Re: Calling free() from libc library"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 16 Jul 2003 18:32:11 -0700
I've added my own free() implementation in my C[++] program.
Now how could I call the version provided in the libc that came with the OS?
I worked around this problem in my implementation of malloc() by calling
(unoverridden) calloc() but I don't know any shadow version of free().
Any ideas?
Do not suggest new/delete approach. I need to intercept calls from C
parts of the program (libXt/libXm).
Thank you!
P.S. The local Windows guy around here was quick to mention that this is
a non issue on that infamous platform.
I don't have to insert the body of free fron glibc into my own free,
or do I?
- Next message: Paul Pluzhnikov: "Re: Calling free() from libc library"
- Previous message: Michael B. Williams: "Repost - help with my test app"
- Next in thread: Paul Pluzhnikov: "Re: Calling free() from libc library"
- Reply: Paul Pluzhnikov: "Re: Calling free() from libc library"
- Reply: Joe Wright: "Re: Calling free() from libc library"
- Reply: Yoo Chung: "Re: Calling free() from libc library"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]