code: drawterm

ref: 5811e042319450a2dd86641c64e39fec8dac7280
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}