code: drawterm

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

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}