1*d5c0ec00Swiz.\" $NetBSD: bsd_signal.3,v 1.2 2016/06/06 08:27:22 wiz Exp $ 278cbc4caSchristos.\" 378cbc4caSchristos.\" Copyright (c) 1980, 1991, 1993 478cbc4caSchristos.\" The Regents of the University of California. All rights reserved. 578cbc4caSchristos.\" 678cbc4caSchristos.\" Redistribution and use in source and binary forms, with or without 778cbc4caSchristos.\" modification, are permitted provided that the following conditions 878cbc4caSchristos.\" are met: 978cbc4caSchristos.\" 1. Redistributions of source code must retain the above copyright 1078cbc4caSchristos.\" notice, this list of conditions and the following disclaimer. 1178cbc4caSchristos.\" 2. Redistributions in binary form must reproduce the above copyright 1278cbc4caSchristos.\" notice, this list of conditions and the following disclaimer in the 1378cbc4caSchristos.\" documentation and/or other materials provided with the distribution. 1478cbc4caSchristos.\" 3. Neither the name of the University nor the names of its contributors 1578cbc4caSchristos.\" may be used to endorse or promote products derived from this software 1678cbc4caSchristos.\" without specific prior written permission. 1778cbc4caSchristos.\" 1878cbc4caSchristos.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 1978cbc4caSchristos.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 2078cbc4caSchristos.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 2178cbc4caSchristos.\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 2278cbc4caSchristos.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 2378cbc4caSchristos.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 2478cbc4caSchristos.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 2578cbc4caSchristos.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 2678cbc4caSchristos.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 2778cbc4caSchristos.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 2878cbc4caSchristos.\" SUCH DAMAGE. 2978cbc4caSchristos.\" 3078cbc4caSchristos.\" @(#)bsd_signal.3 8.3 (Berkeley) 4/19/94 3178cbc4caSchristos.\" 32*d5c0ec00Swiz.Dd June 4, 2016 3378cbc4caSchristos.Dt BSD_SIGNAL 3 3478cbc4caSchristos.Os 3578cbc4caSchristos.Sh NAME 3678cbc4caSchristos.Nm bsd_signal 3778cbc4caSchristos.Nd BSD version of 38*d5c0ec00Swiz.Xr signal 3 3978cbc4caSchristos.Sh LIBRARY 4078cbc4caSchristos.Lb libc 4178cbc4caSchristos.Sh SYNOPSIS 4278cbc4caSchristos.In signal.h 4378cbc4caSchristos.\" The following is Quite Ugly, but syntactically correct. Don't try to 4478cbc4caSchristos.\" fix it. 4578cbc4caSchristos.Ft void \*(lp* 4678cbc4caSchristos.Fn bsd_signal "int sig" "void \*(lp*func\*(rp\*(lpint\*(rp\*(rp\*(rp\*(lpint" 4778cbc4caSchristos.Sh DESCRIPTION 4878cbc4caSchristosThe 4978cbc4caSchristos.Fn bsd_signal 5078cbc4caSchristosfunction provides a partially compatible interface for programs written to 5178cbc4caSchristoshistorical system interfaces. 5278cbc4caSchristos.Sh RETURN VALUES 5378cbc4caSchristosThe previous action is returned on a successful call. 5478cbc4caSchristosOtherwise, 5578cbc4caSchristos.Dv SIG_ERR 5678cbc4caSchristosis returned and the global variable 5778cbc4caSchristos.Va errno 5878cbc4caSchristosis set to indicate the error. 5978cbc4caSchristos.Sh SEE ALSO 6078cbc4caSchristos.Xr signal 3 6178cbc4caSchristos.Sh STANDARDS 6278cbc4caSchristosThe 6378cbc4caSchristos.Fn bsd_signal 6478cbc4caSchristosfunction conforms to 6578cbc4caSchristos.St -p1003.1-2004 . 6678cbc4caSchristosIt was moved from X/Open to zbase in Issue 4 version 2. 6778cbc4caSchristosIt first appeared in 6878cbc4caSchristos.Nx 8 . 69