shithub: drawcpu

ref: 9c00c613885deba1ed19e905604571ef432cab11
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}