shithub: drawterm-fdroid

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

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}