netbsd man page for sighold

Query: sighold

OS: netbsd

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

SIGHOLD(3)						   BSD Library Functions Manual 						SIGHOLD(3)

NAME
sighold -- manipulate current signal mask
LIBRARY
Standard C Library (libc, -lc)
SYNOPSIS
#include <signal.h> int sighold(int sig);
DESCRIPTION
This interface is made obsolete by sigprocmask(2). The sighold() function adds the signal sig to the calling process' signal mask.
RETURN VALUES
If successful, the sighold() function returns 0. Otherwise -1 is returned and errno is set to indicate the error.
ERRORS
The sighold() function will fail if: [EINVAL] The argument sig is not a valid signal number.
SEE ALSO
sigprocmask(2), sigrelse(3)
STANDARDS
The sighold() function conforms to IEEE Std 1003.1-2001 (``POSIX.1''). It was however marked as obsolete in the IEEE Std 1003.1-2008 (``POSIX.1'') revision of the standard.
BSD
April 30, 2010 BSD
Related Man Pages
sigset(3) - centos
sigignore(2) - debian
sigset(2) - freebsd
sighold(2) - freebsd
xsi_sigpause(2) - freebsd
Similar Topics in the Unix Linux Community
signal in process communication
pflag output in a nutshell?
select vs poll
Top v3.7 and v3.8beta1 will not compile on Power7/AIX6.1 server.