shithub: drawterm

ref: 807168fe7239d1940a63544d014887c61f19b540
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}