shithub: drawterm

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

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}