blob: d2341856d32d119dc39b825e77adfd0dd05048b3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
/* ISC license. */
#include <strings.h>
#include <skalibs/sig.h>
#include "sig-internal.h"
int sig_number (char const *name)
{
sigtable const *p = skalibs_sigtable ;
for (; p->name ; p++) if (!strcasecmp(name, p->name)) break ;
return p->number ;
}
|