shithub: drawterm

ref: 0594c6d178d64ccc70c3d781e869d126c32fb267
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}