sipxtacklib
Version 3.3
Main Page
Related Pages
Classes
Files
File List
File Members
include
resparse
wnt
res_signal.h
Go to the documentation of this file.
1
#ifndef _SYS_SIGNAL_H_
2
#define _SYS_SIGNAL_H_
3
4
#if defined(_WIN32)
/* Use only for win32 code --GAT */
5
6
//DWW Not needed for WinNT. It's already in signal.h
7
//#define SIG_DFL ((__sighandler_t *)0)
8
//#define SIG_IGN ((__sighandler_t *)1)
9
//#define SIG_ERR ((__sighandler_t *)-1)
10
11
#define SIGSYS 12
/* non-existent system call invoked */
12
13
typedef
void
__sighandler_t (
int
);
14
typedef
unsigned
int
sigset_t;
15
16
/*
17
* Signal vector "template" used in sigaction call.
18
*/
19
struct
sigaction {
20
__sighandler_t *sa_handler;
/* signal handler */
21
sigset_t sa_mask;
/* signal mask to apply */
22
int
sa_flags;
/* see signal options below */
23
};
24
25
int
sigaction(
int
sig,
const
struct
sigaction *act,
struct
sigaction *oact);
26
27
#endif
28
29
#endif
sipXtackLib home page