shithub: drawterm

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

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}