|
|
DataMuseum.dkPresents historical artifacts from the history of: ICL Comet 32 |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about ICL Comet 32 Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - download
Length: 2267 (0x8db)
Types: TextFile
Notes: UNIX file
Names: »signal.h«
└─⟦26887b7e0⟧ Bits:30009717 Comet 32 harddisk image
└─⟦28c352965⟧ »/a« UNIX Filesystem
└─⟦this⟧ »usr/include/signal.h«
/* * @(#)signal.h 1.5 9/9/83 * @(#)Copyright (C) 1983 by National Semiconductor Corp. */ #ifndef NSIG #define NSIG 32 #define SIGHUP 1 /* hangup */ #define SIGINT 2 /* interrupt */ #define SIGQUIT 3 /* quit */ #define SIGILL 4 /* illegal instruction (not reset when caught) */ #define SIGTRAP 5 /* trace trap (not reset when caught) */ #define SIGIOT 6 /* IOT instruction */ #define SIGEMT 7 /* EMT instruction */ #define SIGFPE 8 /* floating point exception */ #define SIGKILL 9 /* kill (cannot be caught or ignored) */ #define SIGBUS 10 /* bus error */ #define SIGSEGV 11 /* segmentation violation */ #define SIGSYS 12 /* bad argument to system call */ #define SIGPIPE 13 /* write on a pipe with no one to read it */ #define SIGALRM 14 /* alarm clock */ #define SIGTERM 15 /* software termination signal from kill */ #define SIGSTOP 17 /* sendable stop signal not from tty */ #define SIGTSTP 18 /* stop signal from tty */ #define SIGCONT 19 /* continue a stopped process */ #define SIGCHLD 20 /* to parent on child stop or exit */ #define SIGTTIN 21 /* to readers pgrp upon background tty read */ #define SIGTTOU 22 /* like TTIN for output if (tp->t_local<OSTOP) */ #define SIGTINT 23 /* to pgrp on every input character if LINTRUP */ #define SIGXCPU 24 /* exceeded CPU time limit */ #define SIGXFSZ 25 /* exceeded file size limit */ #define SIGDVZ 26 /* integer divide by zero */ #define SIGNMI 27 /* MMU debugging interrupt */ #define SIGBPT 28 /* Breakpoint instruction */ #define SIGPROF 29 /* profiling interrupt (temporary implementation) */ #define SIGNUKE 30 /* nuclear event (cannot be caught or ignored) */ #ifndef KERNEL int (*signal())(); #endif #define BADSIG (int (*)())-1 #define SIG_DFL (int (*)())0 #define SIG_IGN (int (*)())1 #ifdef KERNEL #define SIG_CATCH (int (*)())2 #endif #define SIG_HOLD (int (*)())3 #define SIGISDEFER(x) (((int)(x) & 0x80000000) != 0) #define SIGUNDEFER(x) (int (*)())((int)(x) &~ 0x80000000) #define DEFERSIG(x) (int (*)())((int)(x) | 0x80000000) #define SIGNUMMASK 0377 /* to extract pure signal number */ #define SIGDOPAUSE 0400 /* do pause after setting action */ #define SIGDORTI 01000 /* do ret+rti after setting action */ #define SIGCATCHALL 02000 /* set REAL signal handler address */ #endif