shithub: drawterm

ref: 494adeed0b1e2afdf696baeff995ee80e0f37e8b
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}