Updated with Tizen:Base source codes
[external/procps.git] / proc / sig.h
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 #include "procps.h"
15
16 EXTERN_C_BEGIN
17
18 /* return -1 on failure */
19 extern int signal_name_to_number(const char *restrict name);
20
21 extern const char *signal_number_to_name(int signo);
22
23 extern int print_given_signals(int argc, const char *restrict const *restrict argv, int max_line);
24
25 extern void pretty_print_signals(void);
26
27 extern void unix_print_signals(void);
28
29 EXTERN_C_END
30 #endif