shithub: drawterm

ref: 2dfb06d6b680e19bd162a922e0c3e14a87e26a56
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}