shithub: drawterm

ref: 40db9d5361e9283b53c368eca2f66f0db32cbdd9
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}