code: drawterm

ref: 047ad2e07d297c0747555e2fa1f98976e1529311
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}