aboutsummaryrefslogtreecommitdiffstats
path: root/include/unistd.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/unistd.h')
-rw-r--r--include/unistd.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/include/unistd.h b/include/unistd.h
index dc8e5d5..bb077c1 100644
--- a/include/unistd.h
+++ b/include/unistd.h
@@ -1354,6 +1354,33 @@ ssize_t pwriten(int, const void*, size_t);
#endif
+#if defined(__SLIBC_SOURCE)
+/**
+ * Halt the process in definitely.
+ * This function never returns.
+ *
+ * This is a slibc extension.
+ *
+ * @etymology (Halt)!
+ *
+ * @since Always.
+ */
+__noreturn void halt(void);
+
+/**
+ * Halt and catch fire!
+ * This function never returns.
+ *
+ * This is a slibc extension.
+ *
+ * @etymology (H)alt and (c)atch (f)rie!
+ *
+ * @since Always.
+ */
+__noreturn void hcf(void);
+#endif
+
+
#endif