shithub: drawterm

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

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}