4 #include <jim-signal.h>
7 /* Implement trivial Jim_SignalId() just good enough for JimMakeErrorCode() in [exec] */
10 /* This works for mingw, but is not really portable */
18 const char *Jim_SignalId(int sig
)
22 case SIGINT
: return "SIGINT";
23 case SIGPIPE
: return "SIGPIPE";
26 snprintf(buf
, sizeof(buf
), "%d", sig
);