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

Revision 8308, 619 bytes checked in by bert, 28 years ago (diff)
added protection from recursive inclusion
RevLine 
[8308]1/* signames.h -- deal with concerting signal names to numbers and back.
2 *
3 * $Header: /afs/dev.mit.edu/source/repository/athena/etc/newsyslog/signames.h,v 1.2 1996-04-29 18:53:10 bert Exp $
[8078]4 */
5
[8308]6#ifndef SIGNAMES_H
7#define SIGNAMES_H
8
[8078]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);
[8308]19
20#endif /* SIGNAMES_H */
Note: See TracBrowser for help on using the repository browser.