shithub: drawterm

ref: 278bcb7edd5958d3bb83c0b13f0250446b7ed597
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}