code: drawterm

ref: 788f65497a85ff7cb02fe53189f3dccdc6bddc77
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}