source: trunk/athena/etc/newsyslog/signames.h @ 8078

Revision 8078, 439 bytes checked in by bert, 29 years ago (diff)
Initial revision
Line 
1/*
2 *      signals.h -- deal with concerting signal names to numbers and back.
3 */
4
5#include <stdio.h>
6
7/* signal_name() returns the name for a given signal, or NULL if unknown. */
8char* signal_name (int signum);
9
10/* signal_number() returns the number for a given signal, or 0 if unknown. */
11int signal_number (char* name);
12
13/* fprint_signal_name() prints out the signal name, or "signal ##". */
14void fprint_signal_name (FILE *f, int signum);
Note: See TracBrowser for help on using the repository browser.