1 /* Copyright (C) 2009 Trend Micro Inc.
4 * This program is a free software; you can redistribute it
5 * and/or modify it under the terms of the GNU General Public
6 * License (version 2) as published by the FSF - Free Software
10 /* Functions to handle signal manipulation */
15 void HandleSIG(int sig) __attribute__((noreturn));
16 void HandleSIGPIPE(int sig);
18 /* Start signal manipulation */
19 void StartSIG(const char *process_name) __attribute__((nonnull));
21 /* Start signal manipulation -- function as an argument */
22 void StartSIG2(const char *process_name, void (*func)(int)) __attribute__((nonnull));