shithub: drawterm

ref: 6b188c0bae7c110cc1e7216d8688a652cd0df0cc
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}