shithub: drawterm

ref: 9bec8b1ae32dc666388f767d9770b1eac1186f0a
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}