Backporting dlsym() call from Linux to SCO
From: Apu Singh Mary-Ann Smith (apu_at_simpsonian.com)
Date: 08/29/03
- Next message: Apu Singh Mary-Ann Smith: "Re: GDB and sleeping processes"
- Previous message: Krzywy: "how to transform ascii code file into colored text?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 29 Aug 2003 12:26:36 -0700
I need to override memory allocation functions in SCO port of my app
(now running on Linux and SCO. I could not dump SCO support just yet).
So how could I backport calls like:
c_free = (void (*)(void*))dlsym(RTLD_NEXT, "free");
given that RTLD_NEXT seem to be something specific to Linux (other UNIXes
including SCO seem to be lacking that macro).
- Next message: Apu Singh Mary-Ann Smith: "Re: GDB and sleeping processes"
- Previous message: Krzywy: "how to transform ascii code file into colored text?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|