signal.h: add new sa_flags from linux v5.11
[musl.git] / src / unistd / pause.c
blob90bbf4ca8ab5320a061d9e3ca0d7d854a90f32d8
1 #include <unistd.h>
2 #include "syscall.h"
4 int pause(void)
6 #ifdef SYS_pause
7 return syscall_cp(SYS_pause);
8 #else
9 return syscall_cp(SYS_ppoll, 0, 0, 0, 0);
10 #endif