shithub: drawterm

ref: 78a654c8a70d4c041c8860820142ea89f167b8b4
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}