shithub: drawterm

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

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}