This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: __libc symbols
- From: Roland McGrath <roland at redhat dot com>
- To: "Loic Domaigne" <loic-dev at gmx dot net>
- Cc: libc-alpha at sources dot redhat dot com
- Date: Mon, 6 Dec 2004 11:34:20 -0800
- Subject: Re: __libc symbols
> 1- Some well known functions defined in POSIX as a different cancellation
> semantic in DCE.
Define your own functions by these names in your own library, and have
applications link against that.
> That don't work anymore. What can I do? Should I code myselves the
> /__libc_pause()/ with POSIX functions? Is it what you suggest? Or is there
> another way to obtain the above wrapper with the new glibc?
You can use dlsym, RTLD_NEXT to find the original libc functions to call
rather than calling __libc_*.