summaryrefslogtreecommitdiff
path: root/src/signal/sig_atomic_t.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/signal/sig_atomic_t.h')
-rw-r--r--src/signal/sig_atomic_t.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/signal/sig_atomic_t.h b/src/signal/sig_atomic_t.h
new file mode 100644
index 00000000..c881018c
--- /dev/null
+++ b/src/signal/sig_atomic_t.h
@@ -0,0 +1,12 @@
+typedef volatile int sig_atomic_t;
+
+/** non-interruptible type **/
+
+/***
+is a type of object that can be used atomically even in the presence of interrupts.
+***/
+
+/*
+TYPEDEF(integer)
+STDC(1)
+*/