code: drawterm

ref: 911a007cb62b74f4e3a30429a7fabc11d2075bb5
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}