dos_compilers/Borland Turbo C v1/SIGNAL.H
2024-07-01 13:08:21 -07:00

29 lines
670 B
C
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/* Signal.H
Definitions For Software Signalling Mechanism.
Copyright (c) Borland International 1987
All Rights Reserved.
*/
#if __STDC__
#define _Cdecl
#else
#define _Cdecl cdecl
#endif
#define SIG_DFL ((int(*)())0) /* Default action */
#define SIG_IGN ((int(*)())1) /* Ignore action */
#define SIG_ERR ((int(*)())-1) /* Error return */
#define SIGABRT 1
#define SIGFPE 2 /* Floating point trap */
#define SIGILL 3 /* Illegal instruction */
#define SIGINT 4
#define SIGSEGV 5 /* Memory access violation */
#define SIGTERM 6
#if !__STDC__
int cdecl gsignal(int sig);
int (*cdecl ssignal(int sig, int (*action)())) ();
#endif