shithub: drawterm

ref: 7d7ddbc142a30bdaf746b4d106b6a9b3e2c74982
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}