source:
azure_iot_hub/trunk/musl-1.1.18/src/unistd/pause.c
Last change on this file was 389, checked in by , 5 years ago | |
---|---|
|
|
File size: 204 bytes |
Rev | Line | |
---|---|---|
[388] | 1 | #include <unistd.h> |
2 | #include <signal.h> | |
3 | #include "syscall.h" | |
4 | #include "libc.h" | |
5 | ||
6 | int pause(void) | |
7 | { | |
8 | #ifdef SYS_pause | |
9 | return syscall_cp(SYS_pause); | |
10 | #else | |
11 | return syscall_cp(SYS_ppoll, 0, 0, 0, 0); | |
12 | #endif | |
13 | } |
Note:
See TracBrowser
for help on using the repository browser.