shithub: drawterm

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

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}