Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.3 4.3bsd-beta 6/6/85; site amiga.amiga.UUCP Path: utzoo!linus!decvax!decwrl!pyramid!amiga!andy From: andy@amiga.UUCP (Andy Finkel) Newsgroups: net.micro.amiga Subject: Re: Lattice setjmp/longjmp Message-ID: <499@amiga.amiga.UUCP> Date: Wed, 8-Jan-86 15:17:10 EST Article-I.D.: amiga.499 Posted: Wed Jan 8 15:17:10 1986 Date-Received: Fri, 10-Jan-86 04:53:59 EST References: <431@well.UUCP> Organization: Commodore-Amiga Inc, Los Gatos, CA Lines: 44 Keywords: does it work? Summary: setjmp.h description [ enter your line eater goes here ] In article <431@well.UUCP>, fnf@well.UUCP (Fred Fish) writes: > Does anyone know if setjmp/longjmp works on the AMIGA under > Lattice C? I apparently don't have the include file , > What should look like? here's what it looks like under Lattice C running under V1.1: /** * * This structure is used by the setjmp/longjmp functions to save the * current environment on the 68000. * */ struct JMP_BUF { long jmpret; /* return address */ long jmp_d1; long jmp_d2; long jmp_d3; long jmp_d4; long jmp_d5; long jmp_d6; long jmp_d7; long jmp_a1; long jmp_a2; long jmp_a3; long jmp_a4; long jmp_a5; long jmp_a6; long jmp_a7; }; typedef struct JMP_BUF jmp_buf[1]; I'd give it a try and see if it helps, but no guarantees are made. It might give problems under V1.0. andy finkel commodore The traditional disclaimers go here.