shithub: drawterm

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

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}