Re: setjmp and friends

1999-11-30 Thread Izar Tarandach
"Andre E. Bar'yudin" wrote: > Well, this actually worked, with a little twicking. Thanks :-) . heh, glad to hear. > list, putting the list in the Bcc: or something... And the question > is clearly on-topic (which is quite rare in ILUG recently)... hey, they're having so much fun with off-top

Re: setjmp and friends

1999-11-30 Thread Izar Tarandach
"Andre E. Bar'yudin" wrote: > I've already seen this thing many times. Below there's an example of my > intentions: > > An example, working on BSDI: > /* somewhere in the code */ > jmp_buf jbuf[2]; > > /* later in the code: */ > > setjmp(jbuf[0]); > jbuf[0]->jb_esp = (unsigned) &stack1[1

Re: setjmp and friends

1999-11-30 Thread Andre E. Bar'yudin
On Mon, 29 Nov 1999, Izar Tarandach wrote: > /* Calling environment, plus possibly a saved signal mask. */ > typedef struct __jmp_buf_tag/* C++ doesn't like tagless structs. */ > { > /* NOTE: The machine-dependent definitions of `__sigsetjmp' > assume that a `jmp_buf' begins with a `

Re: setjmp and friends

1999-11-29 Thread Andre E. Bar'yudin
On Mon, 29 Nov 1999, Izar Tarandach wrote: IT> "Andre E. Bar'yudin" wrote: IT> > IT> > Hello guys, IT> > IT> > Does anyone knows what is the structure in the jmp_buf under *Linux* IT> > (the beast is very system specific)? I need it for one of my courses. IT> IT> 6 ints for the registers, one

Re: setjmp and friends

1999-11-29 Thread Izar Tarandach
"Andre E. Bar'yudin" wrote: > > Hello guys, > > Does anyone knows what is the structure in the jmp_buf under *Linux* > (the beast is very system specific)? I need it for one of my courses. 6 ints for the registers, one int for flagging if the signal mask was saved, and one array of longs for t

setjmp and friends

1999-11-29 Thread Andre E. Bar'yudin
Hello guys, Does anyone knows what is the structure in the jmp_buf under *Linux* (the beast is very system specific)? I need it for one of my courses. Of course, I've looked at setjmp's manual, libc info, setjmp.h, bits/setjmp.h, searhed with rgrep - to no avail... Someone who have looked a lo