blob: 8b986319c6a89d2e2925608ed13a224bfc290811 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
/* ISC license. */
#include <string.h>
#include <strings.h>
#include <skalibs/bytestr.h>
int case_startb (char const *s, size_t slen, char const *t)
{
size_t tlen = strlen(t) ;
return slen < tlen ? 0 : !strncasecmp(s, t, tlen) ;
}
|