shithub: drawterm

ref: c53aae4aec0b41d9427d60d78eb4c1ef0e535009
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}