shithub: drawterm

ref: dbee61922549014f2d0dae877d1dc25ed946d710
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}