code: drawterm

ref: 8406d23041c63f3f546fb3aa08ecaf3ece8c7ade
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}