Changeset 3211 for trunk/Ohana/src/opihi/pclient/pclient.c
- Timestamp:
- Feb 13, 2005, 6:49:20 PM (21 years ago)
- File:
-
- 1 edited
-
trunk/Ohana/src/opihi/pclient/pclient.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/opihi/pclient/pclient.c
r3187 r3211 13 13 fprintf (stderr, "\n"); 14 14 fprintf (stderr, "Welcome to %s - %s\n\n", opihi_name, opihi_description); 15 } 16 17 void gotsignal (int signum) { 18 fprintf (stderr, "got signal : %d\n", signum); 19 return; 15 20 } 16 21 … … 53 58 /* ignore the history file. to change this, see, eg, mana.c */ 54 59 signal (SIGINT, SIG_IGN); 60 signal (SIGPIPE, gotsignal); 61 signal (SIGTSTP, gotsignal); 62 signal (SIGTTIN, gotsignal); 55 63 return; 56 64 }
Note:
See TracChangeset
for help on using the changeset viewer.
