Unix and Linux Discussions Tagged with signals |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
3 |
3,595 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
2,167 |
Programming |
|
|
|
9 |
3,926 |
Programming |
|
|
|
11 |
11,773 |
Shell Programming and Scripting |
|
|
|
8 |
3,288 |
UNIX for Advanced & Expert Users |
|
|
|
3 |
14,432 |
Shell Programming and Scripting |
|
|
|
2 |
15,041 |
Programming |
|
|
|
6 |
5,559 |
Programming |
|
|
|
5 |
14,734 |
Shell Programming and Scripting |
|
|
|
2 |
8,700 |
Programming |
|
|
|
0 |
3,529 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
6,993 |
Programming |
|
|
|
4 |
3,446 |
UNIX for Advanced & Expert Users |
|
|
|
3 |
2,839 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
3,735 |
UNIX for Advanced & Expert Users |
|
|
|
1 |
5,795 |
UNIX for Advanced & Expert Users |
|
|
|
2 |
18,803 |
Programming |
|
|
|
8 |
9,767 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
4,302 |
Programming |
|
|
|
1 |
6,651 |
Programming |
|
|
|
1 |
11,689 |
Programming |
|
|
|
1 |
5,043 |
UNIX for Dummies Questions & Answers |
sigblock(2) System Calls Manual sigblock(2)
NAME
sigblock - Provides a compatibility interface to the sigprocmask function
LIBRARY
Standard C Library (libc.a)
SYNOPSIS
int sigblock( int mask );
PARAMETERS
Specifies the signals to be added to the set of signals currently being blocked from delivery.
DESCRIPTION
The sigblock() function causes the signals specified by the mask parameter to be added to the set of signals currently being blocked from
delivery. The signals are blocked from delivery by logically ORing the mask parameter into the signal mask of the process. Signal i is
blocked if the i-th bit in the mask parameter is a value of 1. Only signals with values 1-31 can be masked with the sigblock() function.
NOTES
It is not possible to block SIGKILL. The system provides no indication of this restriction.
The sigblock() function is provided for compatibility to other UNIX systems. Its function is a subset of the sigprocmask() function.
RETURN VALUES
On completion, the previous set of masked signals is returned.
RELATED INFORMATION
Functions: kill(2), sigaction(2), sigpause(3), sigprocmask(2), sigsuspend(2), sigvec(2) delim off
sigblock(2)