anope- supernets anope source code & configuration |
git clone git://git.acid.vegas/anope.git |
Log | Files | Refs | Archive | README |
sigaction.h (556B)
1 /* POSIX emulation layer for Windows. 2 * 3 * (C) 2008-2022 Anope Team 4 * Contact us at team@anope.org 5 * 6 * Please read COPYING and README for further details. 7 * 8 * Based on the original code of Epona by Lara. 9 * Based on the original code of Services by Andy Church. 10 */ 11 12 #define sigemptyset(x) memset((x), 0, sizeof(*(x))) 13 14 #ifndef SIGHUP 15 # define SIGHUP -1 16 #endif 17 #ifndef SIGPIPE 18 # define SIGPIPE -1 19 #endif 20 21 struct sigaction 22 { 23 void (*sa_handler)(int); 24 int sa_flags; 25 int sa_mask; 26 }; 27 28 extern int sigaction(int, struct sigaction *, struct sigaction *);