1PAUSE(2) Linux Programmer's Manual PAUSE(2)
2
3
4
6 pause - wait for signal
7
9 #include <unistd.h>
10
11 int pause(void);
12
14 The pause() library function causes the invoking process (or thread) to
15 sleep until a signal is received that either terminates it or causes it
16 to call a signal-catching function.
17
19 The pause() function only returns when a signal was caught and the sig‐
20 nal-catching function returned. In this case pause() returns -1, and
21 errno is set to EINTR.
22
24 EINTR a signal was caught and the signal-catching function returned.
25
27 SVr4, 4.3BSD, POSIX.1-2001.
28
30 kill(2), select(2), signal(2), sigsuspend(2).
31
32
33
34Linux 1995-08-31 PAUSE(2)