| 1 |
#ifndef PROC_SIG_H |
| 2 |
#define PROC_SIG_H |
| 3 |
/* |
| 4 |
* Copyright 1998-2003 by Albert Cahalan; all rights resered. |
| 5 |
* This file may be used subject to the terms and conditions of the |
| 6 |
* GNU Library General Public License Version 2, or any later version |
| 7 |
* at your option, as published by the Free Software Foundation. |
| 8 |
* This program is distributed in the hope that it will be useful, |
| 9 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 10 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 11 |
* GNU Library General Public License for more details. |
| 12 |
*/ |
| 13 |
|
| 14 |
extern const int number_of_signals; |
| 15 |
|
| 16 |
extern const char *get_sigtable_name(int row); |
| 17 |
|
| 18 |
extern const int get_sigtable_num(int row); |
| 19 |
|
| 20 |
/* return -1 on failure */ |
| 21 |
extern int signal_name_to_number(const char *__restrict name); |
| 22 |
|
| 23 |
extern const char *signal_number_to_name(int signo); |
| 24 |
|
| 25 |
extern int skill_sig_option(int *argc, char **argv); |
| 26 |
|
| 27 |
extern char *strtosig(const char *restrict s); |
| 28 |
|
| 29 |
extern void pretty_print_signals(void); |
| 30 |
|
| 31 |
extern void unix_print_signals(void); |
| 32 |
|
| 33 |
#endif |