shithub: drawterm-fdroid

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

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}