summaryrefslogtreecommitdiffstats
path: root/src/signals.h
blob: b936c46a7f2804b90c3129f58fb6234844efb19a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/* signals.h - signal name handling */

/* Copyright 1993-1995 Werner Almesberger. See file COPYING for details. */


#ifndef SIGNALS_H
#define SIGNALS_H

void list_signals (void);

/* Lists all known signal names on standard output. */

int get_signal (char *name, const char *cmd);

/* Returns the signal number of NAME. If no such signal exists, an error
   message is displayed and the program is terminated. CMD is the name of the
   application. */

#endif