shithub: drawterm

ref: 91d5706eb0db886724e5635c97d1a3be09ca29be
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}