code: drawterm

ref: 395d4c927521243b6ea05acfb46abfd2f2f6a6ad
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}