code: drawterm

ref: 19fc221351f4f1d159a7a5e2b6ea0d3bd2973bf3
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}