home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c
- Path: sparky!uunet!math.fu-berlin.de!informatik.tu-muenchen.de!hphalle6.informatik.tu-muenchen.de!behrenss
- From: behrenss@hphalle6.informatik.tu-muenchen.de (Soenke Behrens)
- Subject: Re: Questions on kill signal
- References: <1992Nov19.093605.11370@nuscc.nus.sg>
- Sender: news@Informatik.TU-Muenchen.DE (USENET Newssystem)
- Organization: Technische Universitaet Muenchen, Germany
- Date: Thu, 19 Nov 1992 15:56:39 GMT
- X-Newsreader: TIN [version 1.1 PL7]
- Message-ID: <1992Nov19.155639.9006@Informatik.TU-Muenchen.DE>
- Lines: 18
-
- LIM FANG HOW (isc40038@nusunix1.nus.sg) wrote:
-
- : How to implement a process that when receives a kill signal from the
- : shell, will write some characters into a text file ?
-
- Forget it. You could do it with SIGINT (user hitting ^C), but a true kill
- (-9, that is) cannot be acted upon. The reason for this is, I think, to
- provide a surefire way of killing a program without giving the program
- the chance to wreck havoc because the code that intercepts the signal
- is also buggy :)
-
- Soenke
-
- --
- ===========================================================================
- More than silver, more than gold, I need ! behrenss@informatik.
- electricity. I need it for my dreams. ! tu-muenchen.de
- (RACTER) ! FIDO: 2:246/13 Soenke Behrens
-