SIGHOLD(3) Library Functions Manual SIGHOLD(3)

sighold
manipulate current signal mask

Standard C Library (libc, -lc)

#include <signal.h>

int
sighold(int sig);

This interface is made obsolete by sigprocmask(2).

The sighold() function adds the signal sig to the calling process' signal mask.

If successful, the sighold() function returns 0. Otherwise -1 is returned and errno is set to indicate the error.

The sighold() function will fail if:
[]
The argument sig is not a valid signal number.

sigprocmask(2), sigrelse(3)

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.
April 30, 2010 NetBSD 9.2