aboutsummaryrefslogtreecommitdiffstats
path: root/common.h
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2020-05-31 00:23:22 +0200
committerMattias Andrée <maandree@kth.se>2020-05-31 00:23:22 +0200
commit4383640bfe4c40c055824d9c42ed8809bb3163b4 (patch)
treedf194cbc3764320a88e25e1f77855aaaed4631ea /common.h
parentWork around valgrind issue (diff)
downloadsctrace-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 'common.h')
-rw-r--r--common.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/common.h b/common.h
index d3df014..43b3d24 100644
--- a/common.h
+++ b/common.h
@@ -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);