shithub: drawterm

ref: 29c1eaaf69513e62627678aba7ab68c7a5586ef1
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}