code: drawterm

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

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}