sig.h (26516) | sig.h (28679) |
---|---|
1/*- 2 * Copyright (c) 1997 3 * Brian Somers <brian@awfulhak.demon.co.uk>. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 12 unchanged lines hidden (view full) --- 21 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 22 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 27 * SUCH DAMAGE. 28 * | 1/*- 2 * Copyright (c) 1997 3 * Brian Somers <brian@awfulhak.demon.co.uk>. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 12 unchanged lines hidden (view full) --- 21 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 22 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 27 * SUCH DAMAGE. 28 * |
29 * $Id: sig.h,v 1.7 1997/03/13 12:45:35 brian Exp $ | 29 * $Id: sig.h,v 1.8 1997/06/09 03:27:37 brian Exp $ |
30 * 31 * TODO: 32 * 33 */ 34 | 30 * 31 * TODO: 32 * 33 */ 34 |
35typedef void (*sig_type)(int); | 35typedef void (*sig_type) (int); |
36 37/* Call this instead of signal() */ 38extern sig_type pending_signal(int, sig_type); 39 40/* Call this when you want things to *actually* happen */ 41extern void handle_signals(void); | 36 37/* Call this instead of signal() */ 38extern sig_type pending_signal(int, sig_type); 39 40/* Call this when you want things to *actually* happen */ 41extern void handle_signals(void); |