shithub: drawterm

ref: 5dc9cad6a69e06717ebe294735579a189bb010e0
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}