Thread: Signal handling

  1. #1
    Registered User quagsire's Avatar
    Join Date
    Jun 2002
    Posts
    60

    Signal handling

    Is there any way to ignore signal 9 and 17 (SIGTERM and SIGSTOP) in a program?

    If not is it possible for the program to log this signals before exiting ?

    All help appreciated.

  2. #2
    Im back! shaik786's Avatar
    Join Date
    Jun 2002
    Location
    Bangalore, India
    Posts
    345
    SIGSTOP and SIGKILL are two signals that can not be caught/ignored by applications. The rest can be handled, including SIGTERM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. signal handling and exception handling
    By lehe in forum C++ Programming
    Replies: 2
    Last Post: 06-15-2009, 10:01 PM
  2. Signal and exception handling
    By nts in forum C++ Programming
    Replies: 23
    Last Post: 11-15-2007, 02:36 PM
  3. Signal Handling
    By DarrenY in forum C Programming
    Replies: 4
    Last Post: 06-04-2006, 11:30 AM
  4. Signal Handling - Are they part of ANSI C?
    By Stanley S in forum C Programming
    Replies: 3
    Last Post: 12-21-2005, 07:49 AM
  5. signal handling
    By trekker in forum C Programming
    Replies: 2
    Last Post: 07-05-2002, 02:52 AM