shithub: drawterm

ref: 0085f650ef3f481692b52c5389a3483421834998
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}