code: drawterm

ref: 3bab3a220a585e32551bc3b8e3d2189cd9ee303b
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}