shithub: drawterm

ref: 50dcc5c0f721600c26bfa8e237b6bb0c2530786a
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}