29 lines
890 B
C
29 lines
890 B
C
#ifndef PROC_SIG_H
|
|
#define PROC_SIG_H
|
|
/*
|
|
* Copyright 1998-2002 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.
|
|
*/
|
|
|
|
#include "procps.h"
|
|
|
|
EXTERN_C_BEGIN
|
|
|
|
/* return -1 on failure */
|
|
extern int signal_name_to_number(const char *restrict name);
|
|
|
|
extern int print_given_signals(int argc, const char *restrict const *restrict argv, int max_line);
|
|
|
|
extern void pretty_print_signals(void);
|
|
|
|
extern void unix_print_signals(void);
|
|
|
|
EXTERN_C_END
|
|
#endif
|