git: drawterm

ref: 89649ad9b7ac826f24d87d2f0590a9390bd6cd7c
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}