shithub: drawterm-fdroid

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

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}