shithub: drawterm-fdroid

ref: 207a95163f5a047e1f8ed8b77f1c4ab2b08edb64
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}