1PAUSE(2)                   Linux Programmer's Manual                  PAUSE(2)
2
3
4

NAME

6       pause - wait for signal
7

SYNOPSIS

9       #include <unistd.h>
10
11       int pause(void);
12

DESCRIPTION

14       pause()  causes the calling process (or thread) to sleep until a signal
15       is delivered that either terminates the process or causes  the  invoca‐
16       tion of a signal-catching function.
17

RETURN VALUE

19       pause()  returns  only when a signal was caught and the signal-catching
20       function returned.  In this case, pause() returns -1, and errno is  set
21       to EINTR.
22

ERRORS

24       EINTR  a signal was caught and the signal-catching function returned.
25

CONFORMING TO

27       POSIX.1-2001, POSIX.1-2008, SVr4, 4.3BSD.
28

SEE ALSO

30       kill(2), select(2), signal(2), sigsuspend(2)
31

COLOPHON

33       This  page  is  part of release 5.07 of the Linux man-pages project.  A
34       description of the project, information about reporting bugs,  and  the
35       latest     version     of     this    page,    can    be    found    at
36       https://www.kernel.org/doc/man-pages/.
37
38
39
40Linux                             2015-08-08                          PAUSE(2)
Impressum