code: drawterm

ref: 24964a29696f5463e947e6c6716e4f5327c2b50d
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}