shithub: drawterm

ref: 15af8dd530c246b1f63ded61a592804d403033aa
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}