xv6

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit d6d636aad3e47eb2b4b1c88ff8e1c9c505c58931
parent ab299eb39a077f70ffa1deb8cb7561482037c413
Author: rsc <rsc>
Date:   Fri,  8 Sep 2006 14:20:43 +0000

make setjmp fit on one page

Diffstat:
Msetjmp.S | 14++++++--------
1 file changed, 6 insertions(+), 8 deletions(-)

diff --git a/setjmp.S b/setjmp.S @@ -1,17 +1,15 @@ # int setjmp(struct jmpbuf *jmp); # void longjmp(struct jmpbuf *jmp); # -# Setjmp saves its stack environment in jmp -# for later use by longjmp. It returns 0. +# Setjmp saves its stack environment in jmp for later use by longjmp. +# It returns 0. # -# Longjmp restores the environment saved by -# the last call of setjmp. It then causes -# execution to continue as if the call of setjmp +# Longjmp restores the environment saved by the last call of setjmp. +# It then causes execution to continue as if the call of setjmp # had just returned 1. # -# The caller of setjmp must not itself have -# returned in the interim. All accessible data -# have values as of the time longjmp was called. +# The caller of setjmp must not itself have returned in the interim. +# All accessible data have values as of the time longjmp was called. # # [Description, but not code, borrowed from Plan 9.]