shithub: drawterm

ref: 004f5972282853f1d44542c07ed90e8b9ed02841
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}