shithub: drawterm

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

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}