shithub: drawterm

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

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}