shithub: drawterm-fdroid

ref: 68e61c65494f36f4b35981914016276c62e2c574
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}