shithub: drawterm-fdroid

ref: 33b6fcf6ff5a277b4ab4ea66cf7356808fedce73
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}