shithub: drawterm

ref: 64b62a3fd4e0b99754a67fbd25b8d583bfd5a24b
dir: /libc/runestrlen.c/

View raw version
#include <u.h>
#include <libc.h>

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}