Annotation of coherent/f/usr/include.78/sys/signal.h, revision 1.1.1.1

1.1       root        1: /*
                      2:  * For the benefit of user programs.
                      3:  *
                      4:  * /usr/include/sys/signal.h
                      5:  */
                      6: 
                      7: #ifndef         SIGNAL_H
                      8: #define         SIGNAL_H       SIGNAL_H
                      9: 
                     10: #define SIGHUP 1                       /* Hangup */
                     11: #define        SIGINT  2                       /* Interrupt */
                     12: #define SIGQUIT        3                       /* Quit */
                     13: #define SIGILL 4                       /* Illegal instruction */
                     14: #define        SIGTRAP 5                       /* Trace trap */        
                     15: #define SIGIOT 6                       /* IOT instruction */
                     16: #define SIGABRT        6                       /* replace by SIGIOT in the future */
                     17: #define        SIGEMT  7                       /* emulator trap */
                     18: #define        SIGFPE  8                       /* floating point exception */
                     19: #define SIGKILL        9                       /* Kill */
                     20: #define        SIGBUS  10                      /* bus error */
                     21: #define        SIGSEGV 11                      /* Segmentation violation */
                     22: #define SIGSYS 12                      /* Bad argument to system call */
                     23: #define        SIGPIPE 13                      /* Write to pipe with no readers */
                     24: #define SIGALRM        14                      /* Alarm */
                     25: #define SIGTERM        15                      /* Software termination signal */
                     26: #define        SIGUSR1 16
                     27: #define        SIGUSR2 17
                     28: #define        SIGCLD  18                      /* Death of a child - not done yet */
                     29: #define        SIGCHLD 18                      /* Death of a child - not done yet */
                     30: #define SIGPWR 19                      /* Restart */
                     31: #define        SIGWINCH 20                     /* window change */
                     32: #define        SIGPOLL 22                      /* polled event in stream */
                     33: 
                     34: #define NSIG   23                      /* Number of signals */
                     35: #define        MAXSIG  32
                     36: 
                     37: /*
                     38:  * Special arguments to signal.
                     39:  */
                     40: #define SIG_DFL (void(*)())0           /* Default */
                     41: #define SIG_ERR (void(*)())-1          /* Error */
                     42: #define SIG_IGN (void(*)())1           /* Ignore */
                     43: #define SIG_HOLD (void(*)())2          /* Hold */
                     44: 
                     45: extern void    (*signal())();
                     46: extern void    (*sigset())();
                     47: 
                     48: #ifdef KERNEL
                     49: #define        SIGDEFER        0x100
                     50: #define        SIGHOLD         0x200
                     51: #define        SIGRELSE        0x400
                     52: #define        SIGIGNORE       0x800
                     53: #define        SIGPAUSE        0x1000
                     54: #define        SIGDEFAULT      0x8000
                     55: #endif
                     56: 
                     57: #endif

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.