shithub: drawterm

ref: 445b6293d60eb6ebd6d361596cbbc92eb8e81dc8
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}