code: drawterm

ref: 943e142d5b46b45b782c5ab4e42fc3d79f6f4435
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}