shithub: drawterm

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

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}