shithub: drawterm

ref: 7ba254afe3300e88a1692ffcb72af34d025618f8
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}