code: drawterm

ref: fa7529962867e6d1025e1666fed3afb018bfa2c3
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}