shithub: drawterm-fdroid

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

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}