sigvec.2 (108037) | sigvec.2 (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.\" @(#)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 108037 2002-12-18 12:45:11Z ru $ | 33.\" $FreeBSD: head/lib/libc/compat-43/sigvec.2 108087 2002-12-19 09:40:28Z 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 --- 227 unchanged lines hidden (view full) --- 269.It Bq Er EFAULT 270Either 271.Fa vec 272or 273.Fa ovec 274points to memory that is not a valid part of the process 275address space. 276.It Bq Er EINVAL | 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 --- 227 unchanged lines hidden (view full) --- 269.It Bq Er EFAULT 270Either 271.Fa vec 272or 273.Fa ovec 274points to memory that is not a valid part of the process 275address space. 276.It Bq Er EINVAL |
277.Fa Sig | 277The 278.Fa sig 279argument |
278is not a valid signal number. 279.It Bq Er EINVAL 280An attempt is made to ignore or supply a handler for 281.Dv SIGKILL 282or 283.Dv SIGSTOP . 284.El 285.Sh SEE ALSO --- 21 unchanged lines hidden (view full) --- 307int sig, code; 308struct sigcontext *scp; 309.Ed 310.Pp 311Here 312.Fa sig 313is the signal number, into which the hardware faults and traps are 314mapped as defined below. | 280is not a valid signal number. 281.It Bq Er EINVAL 282An attempt is made to ignore or supply a handler for 283.Dv SIGKILL 284or 285.Dv SIGSTOP . 286.El 287.Sh SEE ALSO --- 21 unchanged lines hidden (view full) --- 309int sig, code; 310struct sigcontext *scp; 311.Ed 312.Pp 313Here 314.Fa sig 315is the signal number, into which the hardware faults and traps are 316mapped as defined below. |
315.Fa Code 316is a parameter that is either a constant | 317The 318.Fa code 319argument 320is either a constant |
317as given below or, for compatibility mode faults, the code provided by 318the hardware (Compatibility mode faults are distinguished from the 319other 320.Dv SIGILL 321traps by having 322.Dv PSL_CM 323set in the psl). | 321as given below or, for compatibility mode faults, the code provided by 322the hardware (Compatibility mode faults are distinguished from the 323other 324.Dv SIGILL 325traps by having 326.Dv PSL_CM 327set in the psl). |
324.Fa Scp | 328The 329.Fa scp 330argument |
325is a pointer to the 326.Fa sigcontext 327structure (defined in 328.Aq Pa signal.h ) , 329used to restore the context from before the signal. 330.Sh BUGS 331This manual page is still confusing. | 331is a pointer to the 332.Fa sigcontext 333structure (defined in 334.Aq Pa signal.h ) , 335used to restore the context from before the signal. 336.Sh BUGS 337This manual page is still confusing. |