code: drawterm

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

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}