shithub: drawterm

ref: 49142f5becabaccddde13dbb00f85f998778a2a4
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}