shithub: drawterm

ref: 51afb6e1319846bf3f1a4ab6cf69fdf7cf3865e1
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}