shithub: drawterm

ref: bc73cbac76e2d3820db734afdb4e0775f844cfa3
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}