shithub: drawterm

ref: bc9f9803fe3a2ed14cf480fb2787f51861d82abc
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}