shithub: drawterm

ref: 5f606aa3a211c2caee8d05299674a82963583474
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}