code: drawterm

ref: 8bf59cf80d50154415df2c4fc049b08e1cb4046c
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}