hi,
I am trying to use lam_ksignal to modify the default signal handler for LAM_SIGA. I get the following error.
ANSI C++ prohibits conversion from '(int)' to '(...)'
Here's my signal handler
void catch_signal(int signum)
{
//code
}
I am modifying the signal handler like this:
lam_ksignal(LAM_SIGA,catch_signal);
Am I doing something wrong?
thanks,
Satya.
hi,
I am trying to use lam_ksignal to modify the default signal handler for LAM_SIGA. I get the following error.
ANSI C++ prohibits conversion from '(int)' to '(...)'
Here's my signal handler
void catch_signal(int signum)
{
//code
}
I am modifying the signal handler like this:
lam_ksignal(LAM_SIGA,catch_signal);
Am I doing something wrong?
thanks,
Satya.
|