aboutsummaryrefslogtreecommitdiffstats
path: root/sig.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2024-09-21 19:31:16 +0200
committerMattias Andrée <maandree@kth.se>2024-09-21 19:31:16 +0200
commit2e55bedc45e836899a18ea7f4a488f50597afad5 (patch)
tree5a9e3cc1465cfc711fb1f74580cb17f20a46212e /sig.c
parentUpdate documentation and adjust blocksize if larger than the device size (diff)
downloaddeadshred-2e55bedc45e836899a18ea7f4a488f50597afad5.tar.gz
deadshred-2e55bedc45e836899a18ea7f4a488f50597afad5.tar.bz2
deadshred-2e55bedc45e836899a18ea7f4a488f50597afad5.tar.xz
misc
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'sig.c')
-rw-r--r--sig.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sig.c b/sig.c
index c7900fd..d77a46f 100644
--- a/sig.c
+++ b/sig.c
@@ -2,6 +2,9 @@
#include "common.h"
+_Atomic volatile sig_atomic_t exiting = 0;
+
+
static void
sighandler(int signo)
{