1pause(2)                      System Calls Manual                     pause(2)
2
3
4

NAME

6       pause - wait for signal
7

LIBRARY

9       Standard C library (libc, -lc)
10

SYNOPSIS

12       #include <unistd.h>
13
14       int pause(void);
15

DESCRIPTION

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

RETURN VALUE

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

ERRORS

27       EINTR  a signal was caught and the signal-catching function returned.
28

STANDARDS

30       POSIX.1-2008.
31

HISTORY

33       POSIX.1-2001, SVr4, 4.3BSD.
34

SEE ALSO

36       kill(2), select(2), signal(2), sigsuspend(2)
37
38
39
40Linux man-pages 6.04              2023-03-30                          pause(2)
Impressum