shithub: drawterm

ref: 7ecadb146f7f316965ce7d1853026a7443c980df
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}