shithub: drawterm-fdroid

ref: 831505184ff4d34508216418ecb6ec0db77f5d54
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}