shithub: drawterm-fdroid

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

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}