shithub: drawterm

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

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}