C Run-Time Library Reference
signal
define signal handling
Synopsis
#include <signal.h>
void (*signal(int sig, void (*func)(int))) (int);
void (*signalf(int sig, void (*func)(int))) (int);
void (*signals(int sig, void (*func)(int))) (int);
Description
These functions are Analog Devices extensions to the ANSI standard.
The
function determines how a signal received during program
signal
execution is handled. The
function pointed to by
to be executed for every interrupt.
The different variants of the
dler dispatching functions. The variants will be appropriate for some
applications and provide improved efficiency. The default
tion dispatcher saves and restores all scratch registers and modes on the
data stack around a call to the handler (
This dispatcher will pass the interrupt ID (for example,
the handler as its parameter.
The
interrupt dispatcher is similar to
signalf
switches between primary and secondary register sets to save and restore
registers instead of using the data stack. The
used in applications where nested interrupts are enabled. This interrupt
dispatcher will pass the interrupt ID to the handler as its parameter.
The
interrupt dispatcher saves and restores only the smallest
signals
number of registers and modes required to determine if a handler has been
registered and to call that handler. The handler passed as input to
3-112
functions cause a single execution the
signal
; the
func
interrupt
signal
VisualDSP++ 3.5 C/C++ Compiler and Library Manual
functions cause the function
functions differentiate between han-
) when servicing an interrupt.
func
interrupt
function cannot be
signalf
for ADSP-219x DSPs
func-
signal
) to
SIG_PWRDWN
, except that it
signals
Need help?
Do you have a question about the VISUALDSP++ 3.5 and is the answer not in the manual?
Questions and answers