shithub: drawterm

ref: 566f277947682ea7513fa7ff91320607d2ff63f0
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}