shithub: drawterm

ref: 7c69c6d7f62c06ced83e85eba0f04deea14f73c8
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}