diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-15 13:17:26 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-15 13:17:26 +0000 |
commit | a4dc4fbcc1b131061dcccd5cdcc2395d9a2ba784 (patch) | |
tree | bc531e7e083fff1668bb4e79e9692d8cc47aea95 /src/signals.h | |
parent | Initial commit. (diff) | |
download | psmisc-a4dc4fbcc1b131061dcccd5cdcc2395d9a2ba784.tar.xz psmisc-a4dc4fbcc1b131061dcccd5cdcc2395d9a2ba784.zip |
Adding upstream version 23.7.upstream/23.7upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/signals.h')
-rw-r--r-- | src/signals.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/signals.h b/src/signals.h new file mode 100644 index 0000000..b936c46 --- /dev/null +++ b/src/signals.h @@ -0,0 +1,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 |