shithub: drawterm

ref: 7aab5c799f574ee2960dbd1f2afba002f7f6f90d
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}