conterm/libc/runestrlen.c

10 lines
94 B
C

#include <u.h>
#include <libc.h>
long
runestrlen(Rune *s)
{
return runestrchr(s, 0) - s;
}