code: drawterm

ref: 15d8e4cb1d10c094e5fafb5fafab3cd067b716e4
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}