shithub: drawterm-fdroid

ref: 8bd7505dc37201cbcb99bf4e6b48d938af64bb5b
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}