shithub: drawterm

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

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}