diff options
-rw-r--r-- | Makefile | 1 | ||||
-rw-r--r-- | libgcompat/signal.c | 11 |
2 files changed, 12 insertions, 0 deletions
@@ -15,6 +15,7 @@ LIBGCOMPAT_SRC = \ libgcompat/resolv.c \ libgcompat/resource.c \ libgcompat/setjmp.c \ + libgcompat/signal.c \ libgcompat/stdio.c \ libgcompat/stdlib.c \ libgcompat/string.c \ 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); +} |