procps/proc/sig.h

29 lines
885 B
C
Raw Normal View History

2002-12-09 12:30:07 +05:30
#ifndef PROC_SIG_H
#define PROC_SIG_H
2002-02-02 04:17:29 +05:30
/*
* Copyright 1998 by Albert Cahalan; all rights resered.
* 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 13:51:30 +05:30
#include "procps.h"
2002-12-09 12:30:07 +05:30
EXTERN_C_BEGIN
2002-02-02 04:17:29 +05:30
/* return -1 on failure */
2002-11-27 13:51:30 +05:30
extern int signal_name_to_number(const char *restrict name);
2002-02-02 04:17:29 +05:30
2002-11-27 14:06:03 +05:30
extern int print_given_signals(int argc, const char *restrict const *restrict argv, int max_line);
2002-02-02 04:17:29 +05:30
extern void pretty_print_signals(void);
extern void unix_print_signals(void);
2002-12-09 12:30:07 +05:30
EXTERN_C_END
#endif