shithub: drawterm

ref: 90baca8302fd8b6ccad7d06b61da9ecf451ccf83
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}