Newbie exception handler question
From: JF Mezei (jfmezei.spamnot_at_teksavvy.com)
Date: 12/15/04
- Next message: David Mathog: "Re: Interesting article"
- Previous message: JF Mezei: "Re: [Nomex on]: Security research suggests Linux has fewer flaws"
- Next in thread: Z: "Re: Newbie exception handler question"
- Reply: Z: "Re: Newbie exception handler question"
- Reply: Bob Koehler: "Re: Newbie exception handler question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 15 Dec 2004 11:02:38 -0500
OK, I want a C program to call one of my routines to cleanup stuff under
absolutely ALL circumstances, whether it be a <CTRL-C>, <CTRL-Y>, $FORCEX ,
divide by 0 or other exception, STOP/ID, power failure, atomic bomb, or
unexpected and abrupt end of universe.
Since this program uses the buggy LBR$ routines which corrupt libraries, and
thus needs a kludge to close the library properly, I want to make sure that
the program will execute the appropriate routine should anything force the
image to terminate abnormally.
Is there a simple single call to do this, or must I make a whole bunch of
different calls to set all sorts of various condiction handlers ? Where do I
look ? (routine names) ?
In the event of this handler calling my routines, is there a good description
of any restriction on what such routine can and cannot do and what sort of
environment it runs under (AST ?).
- Next message: David Mathog: "Re: Interesting article"
- Previous message: JF Mezei: "Re: [Nomex on]: Security research suggests Linux has fewer flaws"
- Next in thread: Z: "Re: Newbie exception handler question"
- Reply: Z: "Re: Newbie exception handler question"
- Reply: Bob Koehler: "Re: Newbie exception handler question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|