git: drawterm

ref: 4d482dfbd85fd0e4311d14566cbc6b49240e7b95
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}