shithub: drawcpu

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

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}