shithub: drawterm

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

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}