shithub: drawterm

ref: 693b886abbc71ece150ca9d462488672d2ebea98
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}