/* Copyright 1989, 1990, 1992 Digital Equipment Corporation All rights reserved. This software is furnished under a license and may be used and copied only in accordance with the terms of such license and with the inclusion of the above copyright notice. This software and any copies shall not be provided to any other person. No title to or ownership of the software is hereby transferred. The information in this software is subject to change without notice. DIGITAL assumes no responsibility for the use, functionality or reliability of its software on equipment which is not supplied by DIGITAL. signal.h */ #ifndef __SIGNAL_H #define __SIGNAL_H /* Typedef definitions: */ typedef int sig_atomic_t; /* Macro Definitions: */ #define SIG_DFL ((int (*)(int)) 0) /* default */ #define SIG_ERR ((int (*)(int)) -1) #define SIG_IGN ((int (*)(int)) 1) /* ignore */ /* Common Definitions: */ #define SIGABRT ( 16 ) /* Abort, this task */ #define SIGFPE ( 8 ) /* floating point exception */ #define SIGILL ( 4 ) /* illegal instruction */ #define SIGINT ( 2 ) /* interrupt */ #define SIGSEGV ( 11 ) /* segmentation violation */ #define SIGTERM ( 15 ) /* software termination signal from kill */ #ifndef __STDC__ #define NSIGNALS ( 6 ) /* number of signals VAX C Only */ #define signal C$SIGL #define raise C$RASE #define __sleep C$SLEP #define sleep C$SLEP #endif #pragma linkage c signal, raise, __sleep /* Specify Signal Handling */ void ( *signal (int __sig, void (* __func) (int)) ) (int); int raise ( int __sig); /* Sleep Function: */ unsigned long int __sleep (unsigned long int __seconds); #endif