shithub: drawterm

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

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}