shithub: drawcpu

ref: 6ca7a7fcb03e0ef651368e5a782b29c392e16149
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}