shithub: drawterm

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

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}