code: drawterm

ref: 4c2d87cd65fc769d434f23fb54e328811e52d43a
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}