shithub: drawterm

ref: 50eb08d17f61e75a862679e6d8c1511fd93d333f
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}