IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 13, 2005, 6:49:20 PM (21 years ago)
Author:
eugene
Message:

pcontrol dev

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/opihi/pclient/pclient.c

    r3187 r3211  
    1313  fprintf (stderr, "\n");
    1414  fprintf (stderr, "Welcome to %s - %s\n\n", opihi_name, opihi_description);
     15}
     16
     17void gotsignal (int signum) {
     18  fprintf (stderr, "got signal : %d\n", signum);
     19  return;
    1520}
    1621
     
    5358  /* ignore the history file.  to change this, see, eg, mana.c */
    5459  signal (SIGINT, SIG_IGN);
     60  signal (SIGPIPE, gotsignal);
     61  signal (SIGTSTP, gotsignal);
     62  signal (SIGTTIN, gotsignal);
    5563  return;
    5664}
Note: See TracChangeset for help on using the changeset viewer.