shithub: drawterm

ref: 35bd7fa731d33914761a4b9461967dbeb4f1aa24
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}