shithub: drawterm

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

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}