shithub: drawterm

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

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}