shithub: drawterm

ref: 21b830b1ac2409159dfc3ccea59a6fffab805053
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}