shithub: drawterm

ref: 3f22e19560bfcac978bbbcdd20a55464755e10cf
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}