create sys_printhook_error
There's a comment in s_print:
// what about sys_printhook_error ?
Well, ok: let's do it. I guess it should be in addition to sys_printhook, so that you can set both a printhook and an error hook at the same time.
There's a comment in s_print:
// what about sys_printhook_error ?
Well, ok: let's do it. I guess it should be in addition to sys_printhook, so that you can set both a printhook and an error hook at the same time.