shithub: drawterm

ref: 3a32c0713dc419c1c7fafc56cbf3d83af832a391
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}