shithub: drawterm

ref: 6519a0a6f21e7935c2db7ed75ed4afa9001f7b7c
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}