5 #define METERPATH "./IPC/SDR-1000-0-meter.chan"
13 signal(SIGHUP, SIG_IGN);
14 signal(SIGINT, SIG_IGN);
15 signal(SIGQUIT, SIG_IGN);
20 main(int argc, char **argv) {
25 signal(SIGHUP, onsig);
26 signal(SIGINT, onsig);
27 signal(SIGQUIT, onsig);
29 if (!(ch = openChan(METERPATH, METERMULT * sizeof(REAL))))
30 perror("openChan"), exit(1);
32 while (!setjmp(here)) {
33 if (getChan_nowait(ch, (char *) &val, sizeof(REAL))) {
37 while (getChan_nowait(ch, (char *) &val, sizeof(REAL)));