shithub: drawterm

ref: 94f8d9a60fabb07dd7e37c806ca39eadbd883339
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}