sigprocmask.2 (108040) | sigprocmask.2 (108087) |
---|---|
1.\" Copyright (c) 1983, 1991, 1993 2.\" The Regents of the University of California. All rights reserved. 3.\" 4.\" Redistribution and use in source and binary forms, with or without 5.\" modification, are permitted provided that the following conditions 6.\" are met: 7.\" 1. Redistributions of source code must retain the above copyright 8.\" notice, this list of conditions and the following disclaimer. --- 16 unchanged lines hidden (view full) --- 25.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 26.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 27.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 28.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 30.\" SUCH DAMAGE. 31.\" 32.\" @(#)sigprocmask.2 8.1 (Berkeley) 6/4/93 | 1.\" Copyright (c) 1983, 1991, 1993 2.\" The Regents of the University of California. All rights reserved. 3.\" 4.\" Redistribution and use in source and binary forms, with or without 5.\" modification, are permitted provided that the following conditions 6.\" are met: 7.\" 1. Redistributions of source code must retain the above copyright 8.\" notice, this list of conditions and the following disclaimer. --- 16 unchanged lines hidden (view full) --- 25.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 26.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 27.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 28.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 30.\" SUCH DAMAGE. 31.\" 32.\" @(#)sigprocmask.2 8.1 (Berkeley) 6/4/93 |
33.\" $FreeBSD: head/lib/libc/sys/sigprocmask.2 108040 2002-12-18 13:33:04Z ru $ | 33.\" $FreeBSD: head/lib/libc/sys/sigprocmask.2 108087 2002-12-19 09:40:28Z ru $ |
34.\" 35.Dd June 4, 1993 36.Dt SIGPROCMASK 2 37.Os 38.Sh NAME 39.Nm sigprocmask 40.Nd manipulate current signal mask 41.Sh LIBRARY --- 12 unchanged lines hidden (view full) --- 54system call examines and/or changes the current signal mask (those signals 55that are blocked from delivery). 56Signals are blocked if they are members of the current signal mask set. 57.Pp 58If 59.Fa set 60is not null, the action of 61.Fn sigprocmask | 34.\" 35.Dd June 4, 1993 36.Dt SIGPROCMASK 2 37.Os 38.Sh NAME 39.Nm sigprocmask 40.Nd manipulate current signal mask 41.Sh LIBRARY --- 12 unchanged lines hidden (view full) --- 54system call examines and/or changes the current signal mask (those signals 55that are blocked from delivery). 56Signals are blocked if they are members of the current signal mask set. 57.Pp 58If 59.Fa set 60is not null, the action of 61.Fn sigprocmask |
62depends on the value of the parameter 63.Fa how . | 62depends on the value of the 63.Fa how 64argument. |
64The signal mask is changed as a function of the specified 65.Fa set 66and the current mask. 67The function is specified by 68.Fa how 69using one of the following values from 70.Aq Pa signal.h : 71.Bl -tag -width SIG_UNBLOCK --- 31 unchanged lines hidden (view full) --- 103.Rv -std sigprocmask 104.Sh ERRORS 105The 106.Fn sigprocmask 107system call will fail and the signal mask will be unchanged if one 108of the following occurs: 109.Bl -tag -width Er 110.It Bq Er EINVAL | 65The signal mask is changed as a function of the specified 66.Fa set 67and the current mask. 68The function is specified by 69.Fa how 70using one of the following values from 71.Aq Pa signal.h : 72.Bl -tag -width SIG_UNBLOCK --- 31 unchanged lines hidden (view full) --- 104.Rv -std sigprocmask 105.Sh ERRORS 106The 107.Fn sigprocmask 108system call will fail and the signal mask will be unchanged if one 109of the following occurs: 110.Bl -tag -width Er 111.It Bq Er EINVAL |
112The |
|
111.Fa how | 113.Fa how |
114argument |
|
112has a value other than those listed here. 113.El 114.Sh SEE ALSO 115.Xr kill 2 , 116.Xr sigaction 2 , 117.Xr sigsuspend 2 , 118.Xr fpsetmask 3 , 119.Xr sigsetops 3 120.Sh STANDARDS 121The 122.Fn sigprocmask 123system call is expected to 124conform to 125.St -p1003.1-90 . | 115has a value other than those listed here. 116.El 117.Sh SEE ALSO 118.Xr kill 2 , 119.Xr sigaction 2 , 120.Xr sigsuspend 2 , 121.Xr fpsetmask 3 , 122.Xr sigsetops 3 123.Sh STANDARDS 124The 125.Fn sigprocmask 126system call is expected to 127conform to 128.St -p1003.1-90 . |