What is the setjump call?

Art Zemon zemon at felix.UUCP
Tue Oct 2 08:24:50 AEST 1984


The routine is "setjmp" and in conjunction with "longjmp"
provides the ability to "goto" anywhere in a program where
you have already been.  It is typically used for error
recovery or interrupt handling and, like the mundane
"goto," is probably not a part of good, structured
programming.

You certainly should not go out of your way to work it into
your programs.
-- 
	-- Art Zemon
	   FileNet Corp.
	   ...! {decvax, ihnp4, ucbvax} !trwrb!felix!zemon



More information about the Comp.lang.c mailing list