shithub: drawterm

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

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}