Override the GNU C library — painlessly

15
Kellie writes: “Writing private versions of GNU C library functions is a great way to debug systems problems or make quick fixes. This article at developerWorks shows you how to use the LD_PRELOAD shell variable, to selectively override system C library functions with your own private versions. This technique works for both Linux and Solaris environments.”