shithub: drawterm

ref: 37ef30916cf30b47f92cf8f815caa23424263a5a
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}