1: #ifndef NSIG
   2: 
   3: #ifdef  MENLO_JCL
   4: #define NSIG    32
   5: #else
   6: #define NSIG    17
   7: #endif
   8: 
   9: #define SIGHUP  1   /* hangup */
  10: #define SIGINT  2   /* interrupt */
  11: #define SIGQUIT 3   /* quit */
  12: #define SIGILL  4   /* illegal instruction (not reset when caught) */
  13: #define SIGTRAP 5   /* trace trap (not reset when caught) */
  14: #define SIGIOT  6   /* IOT instruction */
  15: #define SIGEMT  7   /* EMT instruction */
  16: #define SIGFPE  8   /* floating point exception */
  17: #define SIGKILL 9   /* kill (cannot be caught or ignored) */
  18: #define SIGBUS  10  /* bus error */
  19: #define SIGSEGV 11  /* segmentation violation */
  20: #define SIGSYS  12  /* bad argument to system call */
  21: #define SIGPIPE 13  /* write on a pipe with no one to read it */
  22: #define SIGALRM 14  /* alarm clock */
  23: #define SIGTERM 15  /* software termination signal from kill */
  24: 
  25: 
  26: #ifdef  MENLO_JCL
  27: #define SIGSTOP 17  /* sendable stop signal not from tty */
  28: #define SIGTSTP 18  /* stop signal from tty */
  29: #define SIGCONT 19  /* continue a stopped process */
  30: #define SIGCHLD 20  /* to parent on child stop or exit */
  31: #define SIGTTIN 21  /* to readers pgrp upon background tty read */
  32: #define SIGTTOU 22  /* like TTIN for output if (tp->t_local&LTOSTOP) */
  33: #define SIGTINT 23  /* to pgrp on every input character if LINTRUP */
  34: #define SIGXCPU 24  /* exceeded CPU time limit */
  35: #define SIGXFSZ 25  /* exceeded file size limit */
  36: #endif
  37: 
  38: #ifndef KERNEL
  39: int (*signal())();
  40: #endif
  41: 
  42: #define BADSIG      (int (*)())-1
  43: #define SIG_DFL     (int (*)())0
  44: #define SIG_IGN     (int (*)())1
  45: 
  46: #ifdef  MENLO_JCL
  47: 
  48: #ifdef  KERNEL
  49: #define SIG_CATCH   (int (*)())2
  50: #endif
  51: #define SIG_HOLD    (int (*)())3
  52: 
  53: #define SIGISDEFER(x)   (((int)(x) & 1) != 0)
  54: #define SIGUNDEFER(x)   (int (*)())((int)(x) &~ 1)
  55: #define DEFERSIG(x) (int (*)())((int)(x) | 1)
  56: 
  57: #define SIGNUMMASK  0377        /* to extract pure signal number */
  58: #define SIGDOPAUSE  0400        /* do pause after setting action */
  59: #define SIGDORTI    01000       /* do ret+rti after setting action */
  60: #endif
  61: 
  62: #endif

Defined macros

BADSIG defined in line 42; never used
DEFERSIG defined in line 55; never used
NSIG defined in line 6; used 1 times
  • in line 1
SIGALRM defined in line 22; never used
SIGBUS defined in line 18; never used
SIGCHLD defined in line 30; never used
SIGCONT defined in line 29; never used
SIGDOPAUSE defined in line 58; never used
SIGDORTI defined in line 59; never used
SIGEMT defined in line 15; never used
SIGFPE defined in line 16; never used
SIGHUP defined in line 9; never used
SIGILL defined in line 12; never used
SIGINT defined in line 10; never used
SIGIOT defined in line 14; never used
SIGISDEFER defined in line 53; never used
SIGKILL defined in line 17; never used
SIGNUMMASK defined in line 57; never used
SIGPIPE defined in line 21; never used
SIGQUIT defined in line 11; never used
SIGSEGV defined in line 19; never used
SIGSTOP defined in line 27; never used
SIGSYS defined in line 20; never used
SIGTERM defined in line 23; never used
SIGTINT defined in line 33; never used
SIGTRAP defined in line 13; never used
SIGTSTP defined in line 28; never used
SIGTTIN defined in line 31; never used
SIGTTOU defined in line 32; never used
SIGUNDEFER defined in line 54; never used
SIGXCPU defined in line 34; never used
SIGXFSZ defined in line 35; never used
SIG_CATCH defined in line 49; never used
SIG_DFL defined in line 43; never used
SIG_HOLD defined in line 51; never used
SIG_IGN defined in line 44; never used
Last modified: 1981-11-09
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 584
Valid CSS Valid XHTML 1.0 Strict