code: drawterm

ref: 789b8fe40e156ad0252230b13dd4ada96f3eed8b
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}