shithub: drawterm

ref: 969f1e1ceb07a5ce0b45802fc6513ba2d67f1c0b
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}