shithub: drawterm

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

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}