shithub: drawterm-fdroid

ref: 3b5a50f3bf1570e2b1ee329be64762cf1fc8a8f0
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}