shithub: drawterm

ref: 72da0579a82cc83574d6f5eb7710d702d6df865e
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}