shithub: drawterm

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

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}