shithub: drawterm

ref: 230e492a8a564ba24a8575f64d2380504ae6338e
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}