diff options
author | Mattias Andrée <maandree@kth.se> | 2020-05-31 00:23:22 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2020-05-31 00:23:22 +0200 |
commit | 4383640bfe4c40c055824d9c42ed8809bb3163b4 (patch) | |
tree | df194cbc3764320a88e25e1f77855aaaed4631ea /common.h | |
parent | Work around valgrind issue (diff) | |
download | sctrace-4383640bfe4c40c055824d9c42ed8809bb3163b4.tar.gz sctrace-4383640bfe4c40c055824d9c42ed8809bb3163b4.tar.bz2 sctrace-4383640bfe4c40c055824d9c42ed8809bb3163b4.tar.xz |
Print signal names
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r-- | common.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -26,6 +26,7 @@ #include "arg.h" #include "list-errnos.h" +#include "list-signums.h" #ifndef ERESTARTSYS @@ -97,6 +98,7 @@ struct process { /* consts.c */ const char *get_errno_name(int err); +const char *get_signum_name(int sig); /* memory.c */ char *get_string(pid_t pid, unsigned long int addr, size_t *lenp, const char **errorp); |