shithub: drawterm

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

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}