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

Revision 12350, 562 bytes checked in by ghudson, 26 years ago (diff)
Some RCS ID cleanup: delete $Log$ and replace other RCS keywords with $Id$.
Line 
1/* signames.h -- deal with concerting signal names to numbers and back.
2 *
3 * $Id: signames.h,v 1.3 1999-01-22 23:15:53 ghudson Exp $
4 */
5
6#ifndef SIGNAMES_H
7#define SIGNAMES_H
8
9#include <stdio.h>
10
11/* signal_name() returns the name for a given signal, or NULL if unknown. */
12char* signal_name (int signum);
13
14/* signal_number() returns the number for a given signal, or 0 if unknown. */
15int signal_number (char* name);
16
17/* fprint_signal_name() prints out the signal name, or "signal ##". */
18void fprint_signal_name (FILE *f, int signum);
19
20#endif /* SIGNAMES_H */
Note: See TracBrowser for help on using the repository browser.