shithub: drawterm

ref: 734ac7f2633100b3cd83b6a2482fb0f63582b4a3
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}