shithub: drawterm

ref: 602ec6770c59e95c66afca5d36c9c1ff2570c2b9
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}