Signals

Discussion in 'C Programming' started by CJ, Oct 29, 2007.

  1. CJ

    CJ Guest

    Hi Friends -

    Is there any way to tell if a C library function installs its own signal
    handler?

    ~CJ
     
    CJ, Oct 29, 2007
    #1
    1. Advertising

  2. In article <>,
    CJ <> wrote:

    >Is there any way to tell if a C library function installs its own signal
    >handler?


    C89 section 4.7.1:

    The implementation shall behave as if no library function calls
    the signal function.


    Thus, if a C library function does install its own signal
    handler, then it would have to do so in a manner that is
    transparent to any of the C standard routines that could possibly
    detect that signal handler. Therefore, if there is a way of
    detecting such a thing, it would have to lie outside of the C
    standard (e.g., an OS routine.)

    --
    "History is a pile of debris" -- Laurie Anderson
     
    Walter Roberson, Oct 29, 2007
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Thomas

    unused bits in signals

    Thomas, Jul 6, 2003, in forum: VHDL
    Replies:
    2
    Views:
    1,104
    Mario Trams
    Jul 6, 2003
  2. Ingmar Seifert

    Delay of control signals

    Ingmar Seifert, Aug 18, 2003, in forum: VHDL
    Replies:
    0
    Views:
    1,216
    Ingmar Seifert
    Aug 18, 2003
  3. Simone Winkler

    generate testbench for array signals

    Simone Winkler, Aug 31, 2003, in forum: VHDL
    Replies:
    1
    Views:
    780
    Pedro Claro
    Sep 2, 2003
  4. walala
    Replies:
    3
    Views:
    780
    Allan Herriman
    Sep 9, 2003
  5. Sajan

    Dumping real signals in VCD

    Sajan, Sep 19, 2003, in forum: VHDL
    Replies:
    8
    Views:
    7,263
    vlsi.engg27
    Jul 21, 2007
Loading...

Share This Page