*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->OpenBSD man pages -> pause (3)              
Title
Content
Arch
Section
 

PAUSE(3)

Contents


NAME    [Toc]    [Back]

     pause - stop until signal

SYNOPSIS    [Toc]    [Back]

     #include <unistd.h>

     int
     pause(void);

DESCRIPTION    [Toc]    [Back]

     Pause is made obsolete by sigsuspend(2).

     The pause() function forces a process to pause until a  signal is received
     from  either  the kill(2) function or an interval timer (see
setitimer(2)).

     Upon termination  of  a  signal  handler  started  during  a
pause(), the
     pause() call will return.

RETURN VALUES    [Toc]    [Back]

     Always returns -1.

ERRORS    [Toc]    [Back]

     The  pause()  function  may set the global variable errno to
the following
     error:

     [EINTR]       The call was interrupted.

SEE ALSO    [Toc]    [Back]

      
      
     kill(2), select(2), setitimer(2), sigsuspend(2)

HISTORY    [Toc]    [Back]

     A pause() syscall appeared in Version 6 AT&T UNIX.

OpenBSD      3.6                           June      4,      1993
[ Back ]
 Similar pages
Name OS Title
stopppp IRIX Stop a PPP call.
halt Linux stop the system.
XmTab HP-UX Data type for a tab stop
named.restart FreeBSD stop and restart the name server
killautofs IRIX stop autofs deamon.
parmgr HP-UX Start or stop Partition Manager
startgfx IRIX start/stop the window system
XmTabCreate HP-UX A convenience function that creates a tab stop
mvPlay IRIX Start and stop movie playback
XmTabSetValue HP-UX A convenience function that sets a tab stop
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service