shithub: drawterm

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

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}