shithub: drawterm

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

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}