code: drawterm

ref: 6ffcc16c81afebbe735eaed7622659b144edaf07
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}