shithub: drawterm

ref: 42924ab37b6c00e9e6d437bddfe12633e43de634
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}