shithub: drawterm

ref: 11fecde6d0ba873506a6c89f12518b18e87e16a4
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}