mirror of
https://github.com/FAUSheppy/colorredstderr-mirror
synced 2025-12-15 03:08:31 +01:00
Hook perror(3).
This commit is contained in:
@@ -230,6 +230,10 @@ HOOK_FILE1(int, putchar_unlocked, stdout,
|
||||
HOOK_FILE1(int, puts_unlocked, stdout,
|
||||
const char *, s)
|
||||
|
||||
/* perror(3) */
|
||||
HOOK_VOID1(void, perror, STDERR_FILENO,
|
||||
const char *, s)
|
||||
|
||||
|
||||
/* Hook functions which duplicate file descriptors to track them. */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user