shithub: drawterm

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

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}