blob: b6cea50b90b6ed475b0a62a9c4af93144ebbd161 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
|
#include <string.h>
#include "macros.h"
#include "mbstring.h"
bool
u8haspfx(const char8_t *s, size_t n, const char8_t *pfx, size_t m)
{
return n >= m && memeq(s, pfx, m);
}
|