code: drawterm

ref: 2ad858a3ea07af04c3a897148238954fae923e80
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}