code: drawterm

ref: 2894b8f250339d56c4970a985d9f878bae91b138
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}