shithub: drawterm

ref: 5797fdc0c0206e5e006e37597662b9a7b308d74d
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}