longjmp implementation using array.