Annotation of MiNT/src/signal.h, revision 1.1

1.1     ! root        1: #define        NSIG            31              /* number of signals recognized */
        !             2: 
        !             3: 
        !             4: 
        !             5: #define        SIGNULL         0               /* not really a signal */
        !             6: 
        !             7: #define SIGHUP         1               /* hangup signal */
        !             8: 
        !             9: #define SIGINT         2               /* sent by ^C */
        !            10: 
        !            11: #define SIGQUIT                3               /* quit signal */
        !            12: 
        !            13: #define SIGILL         4               /* illegal instruction */
        !            14: 
        !            15: #define SIGTRAP                5               /* trace trap */
        !            16: 
        !            17: #define SIGABRT                6               /* abort signal */
        !            18: 
        !            19: #define SIGPRIV                7               /* privilege violation */
        !            20: 
        !            21: #define SIGFPE         8               /* divide by zero */
        !            22: 
        !            23: #define SIGKILL                9               /* cannot be ignored */
        !            24: 
        !            25: #define SIGBUS         10              /* bus error */
        !            26: 
        !            27: #define SIGSEGV                11              /* illegal memory reference */
        !            28: 
        !            29: #define SIGSYS         12              /* bad argument to a system call */
        !            30: 
        !            31: #define SIGPIPE                13              /* broken pipe */
        !            32: 
        !            33: #define SIGALRM                14              /* alarm clock */
        !            34: 
        !            35: #define SIGTERM                15              /* software termination signal */
        !            36: 
        !            37: 
        !            38: 
        !            39: #define SIGURG         16              /* urgent condition on I/O channel */
        !            40: 
        !            41: #define SIGSTOP                17              /* stop signal not from terminal */
        !            42: 
        !            43: #define SIGTSTP                18              /* stop signal from terminal */
        !            44: 
        !            45: #define SIGCONT                19              /* continue stopped process */
        !            46: 
        !            47: #define SIGCHLD                20              /* child stopped or exited */
        !            48: 
        !            49: #define SIGTTIN                21              /* read by background process */
        !            50: 
        !            51: #define SIGTTOU                22              /* write by background process */
        !            52: 
        !            53: #define SIGIO          23              /* I/O possible on a descriptor */
        !            54: 
        !            55: #define SIGXCPU                24              /* CPU time exhausted */
        !            56: 
        !            57: #define SIGXFSZ                25              /* file size limited exceeded */
        !            58: 
        !            59: #define SIGVTALRM      26              /* virtual timer alarm */
        !            60: 
        !            61: #define SIGPROF                27              /* profiling timer expired */
        !            62: 
        !            63: #define SIGWINCH       28              /* window size changed */
        !            64: 
        !            65: #define SIGUSR1                29              /* user signal 1 */
        !            66: 
        !            67: #define SIGUSR2                30              /* user signal 2 */
        !            68: 
        !            69: 
        !            70: 
        !            71: #define       SIG_DFL  0
        !            72: 
        !            73: #define       SIG_IGN  1
        !            74: 
        !            75: #define       SIG_ERR  -1
        !            76: 
        !            77: 
        !            78: 
        !            79: /* which signals are not maskable? */
        !            80: 
        !            81: #define UNMASKABLE (1L | (1L << SIGKILL) | (1L << SIGCONT) | (1L << SIGSTOP))
        !            82: 
        !            83: 
        !            84: 
        !            85: /* which signals are stop signals? */
        !            86: 
        !            87: #define STOPSIGS ((1L<< SIGTTIN)|(1L<< SIGTTOU)|(1L<< SIGTSTP)|(1L<<SIGSTOP))
        !            88: 
        !            89: 
        !            90: 
        !            91: /* sigaction: extended POSIX signal handling facility */
        !            92: 
        !            93: 
        !            94: 
        !            95: struct sigaction {
        !            96: 
        !            97:        ulong   sa_handler;     /* pointer to signal handler */
        !            98: 
        !            99:        ulong   sa_mask;        /* additional signals masked during delivery */
        !           100: 
        !           101:        ushort  sa_flags;       /* signal specific flags */
        !           102: 
        !           103: /* signal flags */
        !           104: 
        !           105: #define SA_NOCLDSTOP   1       /* don't send SIGCHLD when child stops */
        !           106: 
        !           107: };
        !           108: 

unix.superglobalmegacorp.com

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