code: drawterm

ref: 09820aa68b89b8c8093f2e28e088c0c8a4e10f1a
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}