shithub: drawterm

ref: e40ce258bfbdb7a27dfcf79e7c72f8861d2ff54d
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}