Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • owl.c

    r4e4847c r40bda84  
    4646} owl_options;
    4747
    48 void usage()
     48void usage(void)
    4949{
    5050  fprintf(stderr, "Barnowl version %s\n", OWL_VERSION_STRING);
     
    378378}
    379379
     380void sigtstp_handler(int sig, siginfo_t *si, void *data)
     381{
     382  owl_global_set_got_sigstp(&g);
     383}
     384
    380385void owl_register_signal_handlers(void) {
    381386  struct sigaction sigact;
     
    395400  sigaction(SIGINT, &sigact, NULL);
    396401
     402  sigact.sa_sigaction=sigtstp_handler;
     403  sigaction(SIGTSTP, &sigact, NULL);
    397404}
    398405
Note: See TracChangeset for help on using the changeset viewer.