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

NAME

6       sigpause - atomically release blocked signals and wait for interrupt
7

SYNOPSIS

9       sigpause(sigmask)
10       long sigmask;
11

DESCRIPTION

13       This interface is made obsolete by: sigsuspend(2).
14
15       Sigpause()  assigns sigmask to the set of masked signals and then waits
16       for a signal to  arrive;  on  return  the  set  of  masked  signals  is
17       restored.  Sigmask is usually 0L to indicate that no signals are now to
18       be blocked.  Sigpause always terminates by being interrupted, returning
19       -1 with errno set to EINTR.
20

SEE ALSO

22       sigsuspend(2),   kill(2),  sigaction(2),  sigprocmask(2),  sigblock(2),
23       sigvec(2)
24

HISTORY

26       The sigpause function call appeared in 4.2BSD and has been deprecated.
27
28
29
304th Berkeley Distribution      September 2, 1997                   SIGPAUSE(2)
Impressum