Annotation of coherent/a/usr/include/signal.h, revision 1.1

1.1     ! root        1: /* (-lgl
        !             2:  *     COHERENT Version 4.0
        !             3:  *     Copyright (c) 1982, 1992 by Mark Williams Company.
        !             4:  *     All rights reserved. May not be copied without permission.
        !             5:  -lgl) */
        !             6: /*
        !             7:  * For the benefit of user programmes.
        !             8:  */
        !             9: #ifndef         SIGNAL_H
        !            10: #define         SIGNAL_H       SIGNAL_H
        !            11: 
        !            12: #ifdef _I386
        !            13: extern void    (*signal())();
        !            14: extern void    (*sigset())();
        !            15: 
        !            16: #define SIGHUP 1                       /* Hangup */
        !            17: #define        SIGINT  2                       /* Interrupt */
        !            18: #define SIGQUIT        3                       /* Quit */
        !            19: #define SIGILL 4                       /* Illegal instruction */
        !            20: #define        SIGTRAP 5                       /* Trace trap */        
        !            21: #define SIGIOT 6                       /* IOT instruction */
        !            22: #define SIGABRT        6                       /* replace by SIGIOT in the future */
        !            23: #define        SIGEMT  7                       /* emulator trap */
        !            24: #define        SIGFPE  8                       /* floating point exception */
        !            25: #define SIGKILL        9                       /* Kill */
        !            26: #define        SIGBUS  10                      /* bus error */
        !            27: #define        SIGSEGV 11                      /* Segmentation violation */
        !            28: #define SIGSYS 12                      /* Bad argument to system call */
        !            29: #define        SIGPIPE 13                      /* Write to pipe with no readers */
        !            30: #define SIGALRM        14                      /* Alarm */
        !            31: #define SIGTERM        15                      /* Software termination signal */
        !            32: #define        SIGUSR1 16
        !            33: #define        SIGUSR2 17
        !            34: #define        SIGCLD  18                      /* Death of a child - not done yet */
        !            35: #define        SIGCHLD 18                      /* Death of a child - not done yet */
        !            36: #define SIGPWR 19                      /* Restart */
        !            37: #define        SIGWINCH 20                     /* window change */
        !            38: #define        SIGPOLL 22                      /* polled event in stream */
        !            39: 
        !            40: #define NSIG   23                      /* Number of signals */
        !            41: #define        MAXSIG  32
        !            42: 
        !            43: /*
        !            44:  * Special arguments to signal.
        !            45:  */
        !            46: #define SIG_DFL (void(*)())0           /* Default */
        !            47: #define SIG_ERR (void(*)())-1          /* Error */
        !            48: #define SIG_IGN (void(*)())1           /* Ignore */
        !            49: #define SIG_HOLD (void(*)())2          /* Hold */
        !            50: 
        !            51: #ifdef KERNEL
        !            52: #define        SIGDEFER        0x100
        !            53: #define        SIGHOLD         0x200
        !            54: #define        SIGRELSE        0x400
        !            55: #define        SIGIGNORE       0x800
        !            56: #define        SIGPAUSE        0x1000
        !            57: #define        SIGDEFAULT      0x8000
        !            58: #endif
        !            59: 
        !            60: #else
        !            61: #include <sys/msig.h>
        !            62: 
        !            63: #define SIGHUP 1                       /* Hangup */
        !            64: #define        SIGINT  2                       /* Interrupt */
        !            65: #define SIGQUIT        3                       /* Quit */
        !            66: #define SIGALRM        4                       /* Alarm */
        !            67: #define SIGTERM        5                       /* Software termination signal */
        !            68: #define SIGREST        6                       /* Restart */
        !            69: #define SIGSYS 7                       /* Bad argument to system call */
        !            70: #define        SIGPIPE 8                       /* Write to pipe with no readers */
        !            71: #define SIGKILL        9                       /* Kill */
        !            72: #define SIGTRAP        10                      /* Breakpoint */
        !            73: #define        SIGSEGV 11                      /* Segmentation violation */
        !            74: #endif
        !            75: 
        !            76: #endif

unix.superglobalmegacorp.com

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