shithub: drawterm

ref: 001c653ef2089aef37c84617a6baeb25a0137335
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}