shithub: drawterm-fdroid

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

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}