shithub: drawterm

ref: 5cc6f05c4dba14d250210d121ad4ca68118cd5ef
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}