shithub: drawterm

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

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}