shithub: drawterm

ref: 3e13a4a3faadf796d42f3e624a7d3ddd642fa22a
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}