shithub: drawterm

ref: 6718e7054fc8aeb58f9975f10724501879365dd1
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}