code: drawterm

ref: 6c519f33091bdee3a5c2f65e89510239825f76a8
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}