Deleted Added
full compact
signal.3 (108040) signal.3 (108087)
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.\" @(#)signal.3 8.3 (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.\" @(#)signal.3 8.3 (Berkeley) 4/19/94
33.\" $FreeBSD: head/lib/libc/gen/signal.3 108040 2002-12-18 13:33:04Z ru $
33.\" $FreeBSD: head/lib/libc/gen/signal.3 108087 2002-12-19 09:40:28Z ru $
34.\"
35.Dd April 19, 1994
36.Dt SIGNAL 3
37.Os
38.Sh NAME
39.Nm signal
40.Nd simplified software signal facilities
41.Sh LIBRARY

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

130.It Dv SIGWINCH Ta "discard signal" Ta "Window size change"
131.It Dv SIGINFO Ta "discard signal" Ta "status request from keyboard"
132.It Dv SIGUSR1 Ta "terminate process" Ta "User defined signal 1"
133.It Dv SIGUSR2 Ta "terminate process" Ta "User defined signal 2"
134.El
135.Pp
136The
137.Fa sig
34.\"
35.Dd April 19, 1994
36.Dt SIGNAL 3
37.Os
38.Sh NAME
39.Nm signal
40.Nd simplified software signal facilities
41.Sh LIBRARY

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

130.It Dv SIGWINCH Ta "discard signal" Ta "Window size change"
131.It Dv SIGINFO Ta "discard signal" Ta "status request from keyboard"
132.It Dv SIGUSR1 Ta "terminate process" Ta "User defined signal 1"
133.It Dv SIGUSR2 Ta "terminate process" Ta "User defined signal 2"
134.El
135.Pp
136The
137.Fa sig
138parameter specifies which signal was received.
138argument specifies which signal was received.
139The
140.Fa func
141procedure allows a user to choose the action upon receipt of a signal.
142To set the default action of the signal to occur as listed above,
143.Fa func
144should be
145.Dv SIG_DFL .
146A

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

213.Sh ERRORS
214The
215.Fn signal
216function
217will fail and no action will take place if one of the
218following occur:
219.Bl -tag -width Er
220.It Bq Er EINVAL
139The
140.Fa func
141procedure allows a user to choose the action upon receipt of a signal.
142To set the default action of the signal to occur as listed above,
143.Fa func
144should be
145.Dv SIG_DFL .
146A

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

213.Sh ERRORS
214The
215.Fn signal
216function
217will fail and no action will take place if one of the
218following occur:
219.Bl -tag -width Er
220.It Bq Er EINVAL
221The
221.Fa sig
222.Fa sig
223argument
222is not a valid signal number.
223.It Bq Er EINVAL
224An attempt is made to ignore or supply a handler for
225.Dv SIGKILL
226or
227.Ev SIGSTOP .
228.El
229.Sh SEE ALSO

--- 16 unchanged lines hidden ---
224is not a valid signal number.
225.It Bq Er EINVAL
226An attempt is made to ignore or supply a handler for
227.Dv SIGKILL
228or
229.Ev SIGSTOP .
230.El
231.Sh SEE ALSO

--- 16 unchanged lines hidden ---