ack/lang/cem/ctest/ctsys/signal.c
em 04e454d3c6 Added RCS id.
Adapted to use the NOFLOAT cpp flag.
1985-02-15 14:20:04 +00:00

15 lines
135 B
C

#include <signal.h>
char rcs_id[] = "$Header$" ;
foo()
{
printf("signal received\n");
}
main()
{
signal(SIGINT,foo);
while(1);
}