shithub: drawterm

ref: 600869ad4163b0bafed7ff9ebedefeee8fcc7116
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}