Stephen R. van den Berg wrote:
So, IMO, the simplest solution would be to do what C does to solve this: Create a _werror() which is the actual builtin, then use a normal werror() definition which simply calls _werror() in the standard lib, and allow this werror() to be overridden by roxen_werror().
I'm willing to create the patch for this, however...
Could someone point me to a function which already is implemented in the global context so I can learn how to program this?
Anything I check so far, is already a builtin (like closelog or sleep).