shithub: drawterm

ref: 06b60293ad32c72b3ee5809d47a4c8ed83776d4a
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}