shithub: drawterm

ref: 93a43be0ea85aca12826c9d53aec0ad2a0278198
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}