shithub: drawterm

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

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}