[wplug] C Language Question
Diana A. Clarion
dclarion at fnordnet.net
Wed Dec 7 23:53:14 EST 2005
I've been looking at some code that involves signal handlers, and have
encountered a construct I simply don't recognize.
The context: A handler for SIGINT
void intr(int ignore)
{
(void)ignore;
siglongjmp(toplevel, 1);
}
The construct in question is "(void)ignore;". I just don't seem to be able to
find a reference to it anywhere. Is it a cast to some sort of 'void variable',
to ensure that the variable 'ignore' is unusable, or is it something else?
Many much thanks in advance,
DAC
--
Diana A. Clarion, Goddess of the Network
http://www.fnordnet.net/~dclarion
More information about the wplug
mailing list