shithub: drawterm

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

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}