Deleted Added
full compact
sigvec.2 (84306) sigvec.2 (108037)
1.\" Copyright (c) 1980, 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.\" @(#)sigvec.2 8.2 (Berkeley) 4/19/94
1.\" Copyright (c) 1980, 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.\" @(#)sigvec.2 8.2 (Berkeley) 4/19/94
33.\" $FreeBSD: head/lib/libc/compat-43/sigvec.2 84306 2001-10-01 16:09:29Z ru $
33.\" $FreeBSD: head/lib/libc/compat-43/sigvec.2 108037 2002-12-18 12:45:11Z ru $
34.\"
35.Dd April 19, 1994
36.Dt SIGVEC 2
37.Os
38.Sh NAME
39.Nm sigvec
40.Nd software signal facilities
41.Sh LIBRARY

--- 69 unchanged lines hidden (view full) ---

111or
112.Xr sigsetmask 2
113call is made).
114This mask is formed by taking the current signal mask,
115adding the signal to be delivered, and
116.Em or Ns 'ing
117in the signal mask associated with the handler to be invoked.
118.Pp
34.\"
35.Dd April 19, 1994
36.Dt SIGVEC 2
37.Os
38.Sh NAME
39.Nm sigvec
40.Nd software signal facilities
41.Sh LIBRARY

--- 69 unchanged lines hidden (view full) ---

111or
112.Xr sigsetmask 2
113call is made).
114This mask is formed by taking the current signal mask,
115adding the signal to be delivered, and
116.Em or Ns 'ing
117in the signal mask associated with the handler to be invoked.
118.Pp
119.Fn Sigvec
119The
120.Fn sigvec
121function
120assigns a handler for a specific signal. If
121.Fa vec
122is non-zero, it
123specifies a handler routine and mask
124to be used when delivering the specified signal.
125Further, if the
126.Dv SV_ONSTACK
127bit is set in

--- 125 unchanged lines hidden (view full) ---

253The
254.Dv SV_INTERRUPT
255flag is not available in
256.Bx 4.2 ,
257hence it should not be used if backward compatibility is needed.
258.Sh RETURN VALUES
259.Rv -std sigvec
260.Sh ERRORS
122assigns a handler for a specific signal. If
123.Fa vec
124is non-zero, it
125specifies a handler routine and mask
126to be used when delivering the specified signal.
127Further, if the
128.Dv SV_ONSTACK
129bit is set in

--- 125 unchanged lines hidden (view full) ---

255The
256.Dv SV_INTERRUPT
257flag is not available in
258.Bx 4.2 ,
259hence it should not be used if backward compatibility is needed.
260.Sh RETURN VALUES
261.Rv -std sigvec
262.Sh ERRORS
261.Fn Sigvec
263The
264.Fn sigvec
265function
262will fail and no new signal handler will be installed if one
263of the following occurs:
264.Bl -tag -width Er
265.It Bq Er EFAULT
266Either
267.Fa vec
268or
269.Fa ovec

--- 58 unchanged lines hidden ---
266will fail and no new signal handler will be installed if one
267of the following occurs:
268.Bl -tag -width Er
269.It Bq Er EFAULT
270Either
271.Fa vec
272or
273.Fa ovec

--- 58 unchanged lines hidden ---