code: drawterm

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

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}