This repository has been archived on 2024-12-16. You can view files and clone it, but cannot push or open issues or pull requests.
CodeBlocksPortable/WATCOM/h/csignal

71 lines
1.7 KiB
Plaintext
Raw Normal View History

/***************************************************************************
* FILE: signal.h/csignal (Signal definitions)
*
* =========================================================================
*
* Open Watcom Project
*
* Copyright (c) 2002-2010 Open Watcom Contributors. All Rights Reserved.
* Portions Copyright (c) 1983-2002 Sybase, Inc. All Rights Reserved.
*
* This file is automatically generated. Do not edit directly.
*
* =========================================================================
*
* Description: This header is part of the C/C++ standard library. It
* declares facilities for handling signals in programs.
***************************************************************************/
#ifndef _CSIGNAL_INCLUDED
#define _CSIGNAL_INCLUDED
#ifndef _ENABLE_AUTODEPEND
#pragma read_only_file;
#endif
#ifndef __cplusplus
#error This header file requires C++
#endif
#ifndef _COMDEF_H_INCLUDED
#include <_comdef.h>
#endif
extern "C" {
namespace std {
typedef int sig_atomic_t;
}
typedef void (*__sig_func)( int );
#define SIG_IGN ((__sig_func) 1)
#define SIG_DFL ((__sig_func) 2)
#define SIG_ERR ((__sig_func) 3)
#define SIGABRT 1
#define SIGFPE 2
#define SIGILL 3
#define SIGINT 4
#define SIGSEGV 5
#define SIGTERM 6
#define SIGBREAK 7
/* following are OS/2 1.x process flag A,B and C */
#define SIGUSR1 8
#define SIGUSR2 9
#define SIGUSR3 10
/* following are for OS/2 2.x only */
#define SIGIDIVZ 11
#define SIGIOVFL 12
#define _SIGMAX 12
#define _SIGMIN 1
namespace std {
_WCRTLINK extern int raise( int __sig );
_WCRTLINK extern void (*signal( int __sig, void (*__func)(int) ) )(int);
}
} /* extern "C" */
#endif