shithub: drawterm

ref: 5689c790ad6e428ad640051d399f5966c995f978
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}