shithub: drawterm

ref: 9f65f57c73f7c9d80a89ad43195ae4c2fcf9ffbe
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}