shithub: drawterm

ref: 69161a85c9a2ba11aeee2d2cfe151b12248597a0
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}