xref: /netbsd-src/lib/libc/sys/sigstack.2 (revision eb7c1594f145c931049e1fd9eb056a5987e87e59)
1*eb7c1594Sagc.\"	$NetBSD: sigstack.2,v 1.12 2003/08/07 16:44:09 agc Exp $
2110ae2f2Scgd.\"
3110ae2f2Scgd.\" Copyright (c) 1983, 1992, 1993
4110ae2f2Scgd.\"	The Regents of the University of California.  All rights reserved.
561f28255Scgd.\"
661f28255Scgd.\" Redistribution and use in source and binary forms, with or without
761f28255Scgd.\" modification, are permitted provided that the following conditions
861f28255Scgd.\" are met:
961f28255Scgd.\" 1. Redistributions of source code must retain the above copyright
1061f28255Scgd.\"    notice, this list of conditions and the following disclaimer.
1161f28255Scgd.\" 2. Redistributions in binary form must reproduce the above copyright
1261f28255Scgd.\"    notice, this list of conditions and the following disclaimer in the
1361f28255Scgd.\"    documentation and/or other materials provided with the distribution.
14*eb7c1594Sagc.\" 3. Neither the name of the University nor the names of its contributors
1561f28255Scgd.\"    may be used to endorse or promote products derived from this software
1661f28255Scgd.\"    without specific prior written permission.
1761f28255Scgd.\"
1861f28255Scgd.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
1961f28255Scgd.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
2061f28255Scgd.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
2161f28255Scgd.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
2261f28255Scgd.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
2361f28255Scgd.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
2461f28255Scgd.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
2561f28255Scgd.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
2661f28255Scgd.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
2761f28255Scgd.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2861f28255Scgd.\" SUCH DAMAGE.
2961f28255Scgd.\"
30110ae2f2Scgd.\"     @(#)sigstack.2	8.1 (Berkeley) 6/4/93
3161f28255Scgd.\"
32110ae2f2Scgd.Dd June 4, 1993
3361f28255Scgd.Dt SIGSTACK 2
3438c96853Sgarbled.Os
3561f28255Scgd.Sh NAME
3661f28255Scgd.Nm sigstack
3761f28255Scgd.Nd set and/or get signal stack context
38a50cd7c5Swiz.Sh SYNOPSIS
39472351e1Swiz.In signal.h
40a50cd7c5Swiz.Ft int
41a50cd7c5Swiz.Fn sigstack "const struct sigstack *" "struct sigstack *"
4261f28255Scgd.Sh DESCRIPTION
4361f28255ScgdThe
446e9ac180Sjtc.Fn sigstack
45110ae2f2Scgdfunction has been deprecated in favor of the interface described in
46110ae2f2Scgd.Xr sigaltstack 2 .
47110ae2f2Scgd.Sh SEE ALSO
48edf12166Sjdolecek.Xr sigaltstack 2 ,
49edf12166Sjdolecek.Xr signal 7
50110ae2f2Scgd.Sh HISTORY
51110ae2f2ScgdThe
52110ae2f2Scgd.Nm
5361f28255Scgdfunction call appeared in
5461f28255Scgd.Bx 4.2 .
55