git: drawterm

ref: 82b1d4d6c238074e42e8721a4b8f0d3f7e62756d
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}