shithub: drawterm

ref: 8d356984a0f91ac2a0df4f13218ed4615c010b65
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}