shithub: drawterm

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

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}