shithub: drawterm

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

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}