shithub: drawterm

ref: 80e484d564586d035af62709835cd6ed65a05d38
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}