code: drawterm

ref: 11729e23cb62f2e262afd4580906b6aca4f7a113
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}