shithub: drawterm

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

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}