shithub: drawterm

ref: 62ab8e7c1ff1304612400cf1580a0369069b4075
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}