shithub: drawcpu

ref: 50d01b2e88713afb5a1276849b1ae75389263986
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}