shithub: drawterm

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

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}