Sign in
cobalt
/
cobalt
/
07081467c3d00b04a6a1162e0566a5a8b9cfe2d5
/
.
/
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
}