shithub: drawterm

ref: 679555dbb5cc3eb650566395231e3f01167d6976
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}