diff options
| author | rsc <rsc> | 2006-09-08 14:20:43 +0000 | 
|---|---|---|
| committer | rsc <rsc> | 2006-09-08 14:20:43 +0000 | 
| commit | d6d636aad3e47eb2b4b1c88ff8e1c9c505c58931 (patch) | |
| tree | 115900ebbdae1560602446d08807c434713e9434 | |
| parent | ab299eb39a077f70ffa1deb8cb7561482037c413 (diff) | |
| download | xv6-labs-d6d636aad3e47eb2b4b1c88ff8e1c9c505c58931.tar.gz xv6-labs-d6d636aad3e47eb2b4b1c88ff8e1c9c505c58931.tar.bz2 xv6-labs-d6d636aad3e47eb2b4b1c88ff8e1c9c505c58931.zip | |
make setjmp fit on one page
| -rw-r--r-- | setjmp.S | 14 | 
1 files changed, 6 insertions, 8 deletions
| @@ -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.] | 
