Sign in
cobalt
/
cobalt
/
b95ea55ccebda33f820d043e4b4dc85c10d7584d
/
.
/
third_party
/
musl
/
src
/
unistd
/
pause.c
blob: 56eb171e0ac48c46857d0f82a38bf697e0dabfea [
file
] [
log
] [
blame
]
#include
<unistd.h>
#include
<signal.h>
#include
"syscall.h"
#include
"libc.h"
int
pause
(
void
)
{
#ifdef
SYS_pause
return
syscall_cp
(
SYS_pause
);
#else
return
syscall_cp
(
SYS_ppoll
,
0
,
0
,
0
,
0
);
#endif
}