Seth Woolley's Man Viewer

pause(2) - pause, pause - wait for signal - man 2 pause

([section] manual, -k keyword, -K [section] search, -f whatis)
man plain no title

PAUSE(2)                   Linux Programmer's Manual                  PAUSE(2)



NAME
       pause - wait for signal(2,7)

SYNOPSIS
       #include <unistd.h>

       int pause(void);

DESCRIPTION
       The  pause  library function causes the invoking process (or thread) to
       sleep(1,3) until a signal(2,7) is received that either terminates it or causes it
       to call a signal-catching function.

RETURN VALUE
       The  pause  function only returns when a signal(2,7) was caught and the sig-
       nal-catching function returned. In this  case  pause  returns  -1,  and
       errno is set(7,n,1 builtins) to EINTR.

ERRORS
       EINTR  a signal(2,7) was caught and the signal-catching function returned.

CONFORMING TO
       SVr4, SVID, POSIX, X/OPEN, BSD 4.3

SEE ALSO
       kill(1,2,1 builtins)(2), select(2,7,2 select_tut)(2), signal(2,7)(2)



Linux                             1995-08-31                          PAUSE(2)

References for this manual (incoming links)