shithub: drawterm

ref: e51fc2d4b90d29fedc7794c90d37d1ce862dcc74
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}