shithub: drawterm

ref: 61ee60d7237b285d36ad0130fbb7caf7fca7804a
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}