clock: Fix test for platforms with no scan support
[jimtcl.git] / jim-signal.h
blob84dcd8b652c280f8de5c0f45b00710be89ba5092
1 #ifndef JIM_SIGNAL_H
2 #define JIM_SIGNAL_H
4 #ifdef __cplusplus
5 extern "C" {
6 #endif
8 /**
9 * Returns the canonical name for the given signal,
10 * e.g. "SIGTERM", "SIGINT"
12 const char *Jim_SignalId(int sig);
14 /**
15 * If available, returns a short description of the given signal.
16 * e.g. "Terminated", "Interrupted"
18 * Otherwise returns the same as Jim_SignalId()
20 const char *Jim_SignalName(int sig);
22 #ifdef __cplusplus
24 #endif
26 #endif