shithub: drawterm

ref: c8b1153aeecbda4e0d33354df259a9520c107728
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}