pause man page on SmartOS

Man page or keyword search:  
man Server   16655 pages
apropos Keyword Search (all sections)
Output format
SmartOS logo
[printable version]

PAUSE(2)							      PAUSE(2)

NAME
       pause - suspend process until signal

SYNOPSIS
       #include <unistd.h>

       int pause(void);

DESCRIPTION
       The  pause()  function suspends the calling process until it receives a
       signal. The signal must be one that is not currently set to be  ignored
       by the calling process.

       If  the	signal causes termination of the calling process, pause() does
       not return.

       If the signal is caught by the calling process and control is  returned
       from the signal-catching function (see signal(3C)), the calling process
       resumes execution from the point of suspension.

RETURN VALUES
       Since pause() suspends thread   execution  indefinitely	unless	inter‐
       rupted by a signal, there is no successful completion return value.  If
       interrupted, it returns −1 and sets errno to indicate the error.

ERRORS
       The pause() function will fail if:

       EINTR
		A signal is caught by  the  calling  process  and  control  is
		returned from the signal-catching function.

ATTRIBUTES
       See attributes(5) for descriptions of the following attributes:

       ┌────────────────────┬───────────────────┐
       │  ATTRIBUTE TYPE    │  ATTRIBUTE VALUE	│
       ├────────────────────┼───────────────────┤
       │Interface Stability │ Standard		│
       ├────────────────────┼───────────────────┤
       │MT-Level	    │ Async-Signal-Safe │
       └────────────────────┴───────────────────┘

SEE ALSO
       alarm(2), kill(2), signal(3C), wait(3C), attributes(5), standards(5)

				 Dec 28, 1996			      PAUSE(2)
[top]

List of man pages available for SmartOS

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net