shithub: drawterm

ref: 7a73fd88e63bdc5f95c23ff1e4a2951792f34635
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}