code: drawterm

ref: 01028c1dd99ddce82c70ce1e789037ffbce9e8a6
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}