shithub: drawterm

ref: 9d09c9315c3051e7633f7774ab65345804f1e192
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}