summaryrefslogtreecommitdiff
path: root/libgcompat
diff options
context:
space:
mode:
Diffstat (limited to 'libgcompat')
-rw-r--r--libgcompat/signal.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/libgcompat/signal.c b/libgcompat/signal.c
new file mode 100644
index 0000000..17e5443
--- /dev/null
+++ b/libgcompat/signal.c
@@ -0,0 +1,11 @@
+#include <signal.h> /* sigpause */
+
+/**
+ * Remove a signal from the signal mask and suspend the thread.
+ *
+ * LSB 5.0: LSB-Core-generic/baselib---xpg-sigpause.html
+ */
+int __xpg_sigpause(int sig)
+{
+ return sigpause(sig);
+}