shithub: drawterm

ref: 5eaaeb08c5ea01c7c0d0473c2b95462536e6bc25
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}