make setjmp fit on one page
This commit is contained in:
parent
ab299eb39a
commit
d6d636aad3
1 changed files with 6 additions and 8 deletions
14
setjmp.S
14
setjmp.S
|
@ -1,17 +1,15 @@
|
||||||
# int setjmp(struct jmpbuf *jmp);
|
# int setjmp(struct jmpbuf *jmp);
|
||||||
# void longjmp(struct jmpbuf *jmp);
|
# void longjmp(struct jmpbuf *jmp);
|
||||||
#
|
#
|
||||||
# Setjmp saves its stack environment in jmp
|
# Setjmp saves its stack environment in jmp for later use by longjmp.
|
||||||
# for later use by longjmp. It returns 0.
|
# It returns 0.
|
||||||
#
|
#
|
||||||
# Longjmp restores the environment saved by
|
# Longjmp restores the environment saved by the last call of setjmp.
|
||||||
# the last call of setjmp. It then causes
|
# It then causes execution to continue as if the call of setjmp
|
||||||
# execution to continue as if the call of setjmp
|
|
||||||
# had just returned 1.
|
# had just returned 1.
|
||||||
#
|
#
|
||||||
# The caller of setjmp must not itself have
|
# The caller of setjmp must not itself have returned in the interim.
|
||||||
# returned in the interim. All accessible data
|
# All accessible data have values as of the time longjmp was called.
|
||||||
# have values as of the time longjmp was called.
|
|
||||||
#
|
#
|
||||||
# [Description, but not code, borrowed from Plan 9.]
|
# [Description, but not code, borrowed from Plan 9.]
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue