2002-12-09 07:00:07 +00:00
|
|
|
#ifndef PROC_SIG_H
|
|
|
|
#define PROC_SIG_H
|
2002-02-01 22:47:29 +00:00
|
|
|
/*
|
2003-03-19 01:15:58 +00:00
|
|
|
* Copyright 1998-2003 by Albert Cahalan; all rights resered.
|
2002-02-01 22:47:29 +00:00
|
|
|
* 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.
|
|
|
|
*/
|
|
|
|
|
2002-11-27 08:21:30 +00:00
|
|
|
#include "procps.h"
|
|
|
|
|
2002-12-09 07:00:07 +00:00
|
|
|
EXTERN_C_BEGIN
|
|
|
|
|
2002-02-01 22:47:29 +00:00
|
|
|
/* return -1 on failure */
|
2012-01-09 21:44:51 +11:00
|
|
|
extern int signal_name_to_number(const char *__restrict name);
|
2002-02-01 22:47:29 +00:00
|
|
|
|
2003-03-17 23:42:00 +00:00
|
|
|
extern const char *signal_number_to_name(int signo);
|
|
|
|
|
2012-01-09 21:44:51 +11:00
|
|
|
extern int print_given_signals(int argc, const char *__restrict const *__restrict argv, int max_line);
|
2002-02-01 22:47:29 +00:00
|
|
|
|
2012-01-09 21:44:51 +11:00
|
|
|
extern char *strtosig(const char *__restrict s);
|
2011-10-22 18:05:42 +02:00
|
|
|
|
2002-02-01 22:47:29 +00:00
|
|
|
extern void pretty_print_signals(void);
|
|
|
|
|
|
|
|
extern void unix_print_signals(void);
|
2002-12-09 07:00:07 +00:00
|
|
|
|
|
|
|
EXTERN_C_END
|
|
|
|
#endif
|