summaryrefslogtreecommitdiff
path: root/lib/libc/gen/setjmp.3
diff options
context:
space:
mode:
authorPaul Janzen <pjanzen@cvs.openbsd.org>1999-06-06 06:57:54 +0000
committerPaul Janzen <pjanzen@cvs.openbsd.org>1999-06-06 06:57:54 +0000
commit34dcd878d6f2e9072d89cd10ade4f31fb744dba1 (patch)
tree62561a74dd74f3958895eb7c0d686ee178a59baf /lib/libc/gen/setjmp.3
parent44ded7ffda21f64846aeae3dc7e72bb6584b1428 (diff)
Grammatical, spelling, and format fixes
Diffstat (limited to 'lib/libc/gen/setjmp.3')
-rw-r--r--lib/libc/gen/setjmp.317
1 files changed, 8 insertions, 9 deletions
diff --git a/lib/libc/gen/setjmp.3 b/lib/libc/gen/setjmp.3
index c94fb6a3cde..5cf0403a319 100644
--- a/lib/libc/gen/setjmp.3
+++ b/lib/libc/gen/setjmp.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: setjmp.3,v 1.7 1999/06/05 03:44:54 aaron Exp $
+.\" $OpenBSD: setjmp.3,v 1.8 1999/06/06 06:57:45 pjanzen Exp $
.\"
.\" Copyright (c) 1990, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -71,13 +71,12 @@ and
.Fn _setjmp
functions save their calling environment in
.Fa env .
-Each of these functions return 0.
+Each of these functions returns 0.
.Pp
The corresponding
.Fn longjmp
-functions restore the environment saved by their most recent respective
-invocations
-of the
+functions restore the environment saved by the most recent
+invocation of the respective
.Fn setjmp
function.
They then return so that program execution continues as if the corresponding
@@ -87,7 +86,7 @@ call had just returned the value specified by
.Fa val ,
instead of 0.
.Pp
-Pairs of calls may be intermixed, i.e., both
+Pairs of calls may be intermixed; i.e., both
.Fn sigsetjmp
and
.Fn siglongjmp
@@ -96,7 +95,7 @@ as well as
and
.Fn longjmp
combinations may be used in the same program. However, individual
-calls may not, e.g., the
+calls may not \(em e.g., the
.Fa env
argument to
.Fn setjmp
@@ -132,11 +131,11 @@ The
function
pairs save and restore the signal mask if the argument
.Fa savemask
-is non-zero, otherwise only the register set and the stack are saved.
+is non-zero. Otherwise, only the register set and the stack are saved.
.Sh ERRORS
If the contents of the
.Fa env
-are corrupted, or correspond to an environment that has already returned,
+are corrupted or correspond to an environment that has already returned,
the
.Fn longjmp
routine calls the routine