pthread_sigmask man page on BSDOS

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

PTHREAD_SIGMASK(3)	    BSD Programmer's Manual	    PTHREAD_SIGMASK(3)

NAME
     pthread_sigmask - manipulate current signal mask

SYNOPSIS
     #include <pthread.h>
     #include <signal.h>

     int
     pthread_sigmask(int how, const sigset_t *set, sigset_t *oset);

DESCRIPTION
     The pthread_sigmask() function examines and/or changes the calling
     thread's signal mask (those signals that are blocked from delivery).
     Signals delivered to the thread are blocked if they are members of the
     thread-specific signal mask set.

     If set is not null, the action of pthread_sigmask() depends on the value
     of the parameter how. The calling thread's signal mask is changed as a
     function of the specified set and the thread's current signal mask.  The
     function is specified by how using one of the following values from
     <signal.h>:

     SIG_BLOCK	  The new mask is the union of the current mask and the speci-
		  fied set.

     SIG_UNBLOCK  The new mask is the intersection of the current mask and the
		  complement of the specified set.

     SIG_SETMASK  The current mask is replaced by the specified set.

     If oset is not null, it is set to the previous value of the signal mask.
     When set is null, the value of how is insignificant and the mask remains
     unset, providing a way to examine the signal mask without modification.

     The system quietly disallows SIGKILL or SIGSTOP to be blocked.

RETURN VALUES
     A 0 value indicated that the call succeeded.  A non-zero return value in-
     dicates that an error occurred and the value returned indicates the rea-
     son.

ERRORS
     The pthread_sigmask() call will fail and the current threads signal mask
     will be unchanged if the following error occurs:

     [EINVAL]	   how has a value other than those listed here.

SEE ALSO
     pthread_kill(2),  sigsetmask(2),  sigsetops(3)

STANDARDS
     The pthread_sigmask function call is expected to conform to IEEE
     Std1003.1c (``POSIX'').

BSDI BSD/OS			 June 3, 1996				     1
[top]
                             _         _         _ 
                            | |       | |       | |     
                            | |       | |       | |     
                         __ | | __ __ | | __ __ | | __  
                         \ \| |/ / \ \| |/ / \ \| |/ /  
                          \ \ / /   \ \ / /   \ \ / /   
                           \   /     \   /     \   /    
                            \_/       \_/       \_/ 
More information is available in HTML format for server BSDOS

List of man pages available for BSDOS

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