shithub: drawterm

ref: 6f175d289e57bf447640255d484f411f631195be
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}