shithub: drawterm

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

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}