shithub: drawterm

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

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}