shithub: drawterm

ref: 289afc11ba1a173e7de67d4e5c0850531de478d2
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}