code: drawterm

ref: 1cb0ad40de5c6b8232432705d45aa71029d7df12
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}