shithub: drawterm

ref: 9f66cd80b33731d08e59233dabfd4771507dd149
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}