shithub: drawterm

ref: 67284dd2c09c74ea425f4ded41a90b640b607eae
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}