Anope IRC Services  Version 2.0
sigaction.h
Go to the documentation of this file.
1  /* POSIX emulation layer for Windows.
2  *
3  * Copyright (C) 2008-2014 Anope Team <team@anope.org>
4  *
5  * Please read COPYING and README for further details.
6  *
7  * Based on the original code of Epona by Lara.
8  * Based on the original code of Services by Andy Church.
9  */
10 
11  #define sigemptyset(x) memset((x), 0, sizeof(*(x)))
12 
13  #ifndef SIGHUP
14  # define SIGHUP -1
15  #endif
16  #ifndef SIGPIPE
17  # define SIGPIPE -1
18  #endif
19 
20  struct sigaction
21  {
22  void (*sa_handler)(int);
23  int sa_flags;
24  int sa_mask;
25  };
26 
27  extern int sigaction(int, struct sigaction *, struct sigaction *);
28 
int sa_mask
Definition: sigaction.h:24
int sa_flags
Definition: sigaction.h:23
void(* sa_handler)(int)
Definition: sigaction.h:22
int sigaction(int, struct sigaction *, struct sigaction *)
Definition: sigaction.cpp:15