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