shithub: drawterm-fdroid

ref: 023a0ce70099b0cc01c0956377def3238a6a947a
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}