Add `sigset64_t` and accompanying functions.
This doesn't address `struct sigaction` and `sigaction`. That will
come later.
Bug: http://b/72493232
Test: ran tests
Change-Id: I4134346757ce3a4dac6feae413361cec16223386
diff --git a/libc/bionic/pause.cpp b/libc/bionic/pause.cpp
index 2a0779a..534a804 100644
--- a/libc/bionic/pause.cpp
+++ b/libc/bionic/pause.cpp
@@ -26,12 +26,10 @@
* SUCH DAMAGE.
*/
+#include <signal.h>
#include <unistd.h>
-#include "private/kernel_sigset_t.h"
-
int pause() {
- kernel_sigset_t mask;
- if (__rt_sigprocmask(SIG_SETMASK, nullptr, &mask, sizeof(mask)) == -1) return -1;
- return __rt_sigsuspend(&mask, sizeof(mask));
+ sigset64_t mask = {};
+ return sigsuspend64(&mask);
}