shithub: drawterm

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

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}