shithub: drawterm

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

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}