shithub: drawterm

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

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}