setjmp.3 (108040) | setjmp.3 (131504) |
---|---|
1.\" Copyright (c) 1990, 1991, 1993 2.\" The Regents of the University of California. All rights reserved. 3.\" 4.\" This code is derived from software contributed to Berkeley by 5.\" the American National Standards Committee X3, on Information 6.\" Processing Systems. 7.\" 8.\" Redistribution and use in source and binary forms, with or without --- 20 unchanged lines hidden (view full) --- 29.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 30.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 31.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 32.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 33.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 34.\" SUCH DAMAGE. 35.\" 36.\" @(#)setjmp.3 8.1 (Berkeley) 6/4/93 | 1.\" Copyright (c) 1990, 1991, 1993 2.\" The Regents of the University of California. All rights reserved. 3.\" 4.\" This code is derived from software contributed to Berkeley by 5.\" the American National Standards Committee X3, on Information 6.\" Processing Systems. 7.\" 8.\" Redistribution and use in source and binary forms, with or without --- 20 unchanged lines hidden (view full) --- 29.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 30.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 31.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 32.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 33.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 34.\" SUCH DAMAGE. 35.\" 36.\" @(#)setjmp.3 8.1 (Berkeley) 6/4/93 |
37.\" $FreeBSD: head/lib/libc/gen/setjmp.3 108040 2002-12-18 13:33:04Z ru $ | 37.\" $FreeBSD: head/lib/libc/gen/setjmp.3 131504 2004-07-02 23:52:20Z ru $ |
38.\" 39.Dd June 4, 1993 40.Dt SETJMP 3 41.Os 42.Sh NAME 43.Nm sigsetjmp , 44.Nm siglongjmp , 45.Nm setjmp , --- 39 unchanged lines hidden (view full) --- 85function. 86They then return so that program execution continues as if the corresponding 87invocation of the 88.Fn setjmp 89call had just returned the value specified by 90.Fa val , 91instead of 0. 92.Pp | 38.\" 39.Dd June 4, 1993 40.Dt SETJMP 3 41.Os 42.Sh NAME 43.Nm sigsetjmp , 44.Nm siglongjmp , 45.Nm setjmp , --- 39 unchanged lines hidden (view full) --- 85function. 86They then return so that program execution continues as if the corresponding 87invocation of the 88.Fn setjmp 89call had just returned the value specified by 90.Fa val , 91instead of 0. 92.Pp |
93Pairs of calls may be intermixed, i.e. both | 93Pairs of calls may be intermixed, i.e., both |
94.Fn sigsetjmp 95and 96.Fn siglongjmp 97and 98.Fn setjmp 99and 100.Fn longjmp 101combinations may be used in the same program, however, individual | 94.Fn sigsetjmp 95and 96.Fn siglongjmp 97and 98.Fn setjmp 99and 100.Fn longjmp 101combinations may be used in the same program, however, individual |
102calls may not, e.g. the | 102calls may not, e.g.\& the |
103.Fa env 104argument to 105.Fn setjmp 106may not be passed to 107.Fn siglongjmp . 108.Pp 109The 110.Fn longjmp --- 66 unchanged lines hidden --- | 103.Fa env 104argument to 105.Fn setjmp 106may not be passed to 107.Fn siglongjmp . 108.Pp 109The 110.Fn longjmp --- 66 unchanged lines hidden --- |