shithub: drawterm

ref: 8294a496424e030daa12c9c7eb5ab5217c7535e7
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}