shithub: drawterm

ref: 4d9d7206934403303b15ef5e62041b4426cf374b
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}