sickill/stderred — pull request #10 by albinoloverats (2011-12-15 13:09:16+00:00)
Title: Overwrite fprintf, fputc, fputs

Also overwrite fprintf_unlocked, fputc_unlocked, fputs_unlocked, as well as error functions perror, error and error_at_line. This just about covers most GNU utilities such as ls, ln, cat, find, touch, etc.

Provided asprintf function (for when it's not available), also vasprintf (as a macro), and although it works for me, ymmv.