2002-12-09 12:30:07 +05:30
|
|
|
#ifndef PROC_SIG_H
|
|
|
|
#define PROC_SIG_H
|
2002-02-02 04:17:29 +05:30
|
|
|
/*
|
2003-03-19 06:45:58 +05:30
|
|
|
* Copyright 1998-2003 by Albert Cahalan; all rights resered.
|
2002-02-02 04:17:29 +05:30
|
|
|
* This file may be used subject to the terms and conditions of the
|
|
|
|
* GNU Library General Public License Version 2, or any later version
|
|
|
|
* at your option, as published by the Free Software Foundation.
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU Library General Public License for more details.
|
|
|
|
*/
|
|
|
|
|
2015-06-29 17:22:51 +05:30
|
|
|
extern const int number_of_signals;
|
2003-03-18 05:12:00 +05:30
|
|
|
|
2015-06-29 17:22:51 +05:30
|
|
|
extern const char *get_sigtable_name(int row);
|
2002-02-02 04:17:29 +05:30
|
|
|
|
2015-06-29 17:22:51 +05:30
|
|
|
extern const int get_sigtable_num(int row);
|
2011-10-22 21:35:42 +05:30
|
|
|
|
2015-06-29 17:22:51 +05:30
|
|
|
/* return -1 on failure */
|
|
|
|
extern int signal_name_to_number(const char *__restrict name);
|
2002-02-02 04:17:29 +05:30
|
|
|
|
2015-06-29 17:22:51 +05:30
|
|
|
extern const char *signal_number_to_name(int signo);
|
2002-12-09 12:30:07 +05:30
|
|
|
|
2015-09-26 04:43:13 +05:30
|
|
|
extern int skill_sig_option(int *argc, char **argv);
|
|
|
|
|
|
|
|
extern char *strtosig(const char *restrict s);
|
|
|
|
|
|
|
|
extern void pretty_print_signals(void);
|
|
|
|
|
|
|
|
extern void unix_print_signals(void);
|
|
|
|
|
2002-12-09 12:30:07 +05:30
|
|
|
#endif
|