shithub: drawterm

ref: 44f57781df714328b2bda786131f7cfe76651aed
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}