shithub: drawcpu

ref: 775400b52c5b473fe1528f3e31283fcfb730c18a
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}