shithub: drawterm

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

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}