shithub: drawterm

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

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}