shithub: drawterm

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

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}