shithub: drawterm

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

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}