code: drawterm

ref: 9f46d48804714b234079e3ee463d473391d726be
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}