shithub: drawterm

ref: 6af132daa2d80608eeb817b461235af278f6aea8
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}