shithub: drawterm

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

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}