shithub: drawterm

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

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}