Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > C Programming > Signals

Reply
Thread Tools

Signals

 
 
CJ
Guest
Posts: n/a
 
      10-29-2007
Hi Friends -

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

~CJ

 
Reply With Quote
 
 
 
 
Walter Roberson
Guest
Posts: n/a
 
      10-29-2007
In article <(E-Mail Removed)>,
CJ <(E-Mail Removed)> 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
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Dumping real signals in VCD Sajan VHDL 8 07-21-2007 07:39 AM
Are all the signals read in the process should appear in the sensitivity list of the process? walala VHDL 3 09-09-2003 07:47 AM
generate testbench for array signals Simone Winkler VHDL 1 09-02-2003 04:00 PM
Delay of control signals Ingmar Seifert VHDL 0 08-18-2003 03:21 PM
unused bits in signals Thomas VHDL 2 07-06-2003 10:22 PM



Advertisments