shithub: drawterm

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

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}