code: drawterm

ref: be768764da1d66ac83a5ee9c5a0a24abfaf2bfc1
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}