code: drawterm

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

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}