shithub: drawcpu

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

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}