shithub: drawterm

ref: 7a1fe6d6eca745009d9be9ad6f16e45ed2a511ab
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}