code: drawterm

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

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}