git: drawterm

ref: 19b1044a6ab5a3f3a6c134aa3ef2e19e46c78149
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}