blob: 1016647c7678034c0f3566e7f4ad659c440736b1 (
plain)
1
2
3
4
5
6
7
8
9
10
|
/* ISC license. */
#include <skalibs/fmtscan.h>
unsigned int ucharn_findlen (char const *s)
{
register unsigned int i = 0 ;
while (fmtscan_num(s[i], 16) <= 0xF) i++ ;
return i ;
}
|